Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/util/CalendarTimeUtil.php
Context not available. | |||||
$today = new DateTime('@'.$today_epoch); | $today = new DateTime('@'.$today_epoch); | ||||
$today->setTimezone($timezone); | $today->setTimezone($timezone); | ||||
if (strtolower($start_day_str) == 'today' || | if (@strtolower($start_day_str) == 'today' || | ||||
$today->format('l') == $start_day_str) { | $today->format('l') == $start_day_str) { | ||||
$start_day = clone $today; | $start_day = clone $today; | ||||
} else { | } else { | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0