diff --git a/lib/models/calendar/CalendarDateAssignment.class.php b/lib/models/calendar/CalendarDateAssignment.class.php index 37e3b66026e0d846c3b91af64062f9efc2ea6d56..9eed0e740f9a382b88512254e8f56d28d5adf046 100644 --- a/lib/models/calendar/CalendarDateAssignment.class.php +++ b/lib/models/calendar/CalendarDateAssignment.class.php @@ -217,7 +217,7 @@ class CalendarDateAssignment extends SimpleORMap implements Event bool $with_declined = false ) : array { - // use always the server's timezone + // Always use the timezone of the server: $local_timezone = (new DateTime())->getTimezone(); $begin->setTimezone($local_timezone); $end->setTimezone($local_timezone);