This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Description
I'm trying out api-platform.com. It seems to send datetime payload as DateTimeImmutable object. DateTimeConverter::toDatabaseValue() line 33 only allows DateTime objects. Changing it to DateTimeInterface should fix it. It should allow any objects that implement DateTimeInterface regardless.