Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/view/AphrontCalendarEventView.php
| Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | public function getMultiDay() { | ||||
| $nextday = strtotime('12:00 AM Tomorrow', $this->getEpochStart()); | $nextday = strtotime('12:00 AM Tomorrow', $this->getEpochStart()); | ||||
| if ($this->getEpochEnd() > $nextday) { | if ($this->getEpochEnd() > $nextday) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function render() { | public function render() { | ||||
| throw new Exception("Events are only rendered indirectly."); | throw new Exception('Events are only rendered indirectly.'); | ||||
| } | } | ||||
| } | } | ||||