@@ 269-275 (lines=7) @@ | ||
266 | $start_str = $this->get_long_ymdn($event->start + $tzoffset); |
|
267 | } |
|
268 | ||
269 | if (isset($event->end_date)) { |
|
270 | $end_str = $event->end_date; |
|
271 | } elseif ($event->allday) { |
|
272 | $end_str = $this->get_long_ymdn($event->end - 300); |
|
273 | } else { |
|
274 | $end_str = $this->get_long_ymdn($event->end + $tzoffset); |
|
275 | } |
|
276 | ||
277 | $date_desc = ($start_str == $end_str) ? $start_str : "$start_str - $end_str"; |
|
278 | ||
@@ 680-686 (lines=7) @@ | ||
677 | $start_str = $this->get_long_ymdn($event->start + $tzoffset); |
|
678 | } |
|
679 | ||
680 | if (isset($event->end_date)) { |
|
681 | $end_str = $event->end_date; |
|
682 | } elseif ($event->allday) { |
|
683 | $end_str = $this->get_long_ymdn($event->end - 300); |
|
684 | } else { |
|
685 | $end_str = $this->get_long_ymdn($event->end + $tzoffset); |
|
686 | } |
|
687 | ||
688 | $date_desc = ($start_str == $end_str) ? $start_str : "$start_str - $end_str"; |
|
689 | $block['events'][] = array( |