Skip to content
Snippets Groups Projects
Commit 89c241db authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fixed error in comment

parent d23fe92f
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,7 @@ class CalendarDateAssignment extends SimpleORMap implements Event ...@@ -217,7 +217,7 @@ class CalendarDateAssignment extends SimpleORMap implements Event
bool $with_declined = false bool $with_declined = false
) : array ) : array
{ {
// use always the server's timezone // Always use the timezone of the server:
$local_timezone = (new DateTime())->getTimezone(); $local_timezone = (new DateTime())->getTimezone();
$begin->setTimezone($local_timezone); $begin->setTimezone($local_timezone);
$end->setTimezone($local_timezone); $end->setTimezone($local_timezone);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment