remove timezone from calendar and calendar range

This commit is contained in:
2022-06-06 17:49:51 +02:00
parent dab9204ec7
commit dc22d18e6a
4 changed files with 91 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ class CalendarRange implements TrackCreationInterface, TrackUpdateInterface
private ?Calendar $calendar = null;
/**
* @ORM\Column(type="datetimetz_immutable")
* @ORM\Column(type="datetime_immutable", nullable=false)
* @groups({"read", "write", "calendar:read"})
*/
private ?DateTimeImmutable $endDate = null;
@@ -52,7 +52,7 @@ class CalendarRange implements TrackCreationInterface, TrackUpdateInterface
private $id;
/**
* @ORM\Column(type="datetimetz_immutable")
* @ORM\Column(type="datetime_immutable", nullable=false)
* @groups({"read", "write", "calendar:read"})
*/
private ?DateTimeImmutable $startDate = null;