mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
remove timezone from calendar and calendar range
This commit is contained in:
@@ -102,7 +102,7 @@ class Calendar implements TrackCreationInterface, TrackUpdateInterface
|
||||
private CommentEmbeddable $comment;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="datetimetz_immutable")
|
||||
* @ORM\Column(type="datetime_immutable", nullable=false)
|
||||
* @Serializer\Groups({"calendar:read", "read"})
|
||||
*/
|
||||
private ?DateTimeImmutable $endDate = null;
|
||||
@@ -169,7 +169,7 @@ class Calendar implements TrackCreationInterface, TrackUpdateInterface
|
||||
private ?bool $sendSMS;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="datetimetz_immutable")
|
||||
* @ORM\Column(type="datetime_immutable", nullable=false)
|
||||
* @Serializer\Groups({"calendar:read", "read"})
|
||||
*/
|
||||
private ?DateTimeImmutable $startDate = null;
|
||||
@@ -550,6 +550,7 @@ class Calendar implements TrackCreationInterface, TrackUpdateInterface
|
||||
|
||||
public function setStartDate(DateTimeImmutable $startDate): self
|
||||
{
|
||||
dump('startDate', $startDate);
|
||||
$this->startDate = $startDate;
|
||||
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user