@@ 4665-4669 (lines=5) @@ | ||
4662 | if (isset($event->start_date)) { |
|
4663 | // 1970������2038ǯ�ʹߤ����դ��������ü������٥�� |
|
4664 | $dtstart = str_replace('-', '', $event->start_date); |
|
4665 | if (isset($event->end_date_offseted)) { |
|
4666 | $dtend = str_replace('-', '', $event->end_date_offseted); |
|
4667 | } else { |
|
4668 | $dtend = date('Ymd', $event->end); |
|
4669 | } |
|
4670 | $dtstart_opt = $dtend_opt = ';VALUE=DATE'; |
|
4671 | } elseif ($event->allday) { |
|
4672 | // ����٥�ȡʻ�������ʤ��� |
|
@@ 4674-4678 (lines=5) @@ | ||
4671 | } elseif ($event->allday) { |
|
4672 | // ����٥�ȡʻ�������ʤ��� |
|
4673 | $dtstart = date('Ymd', $event->start); |
|
4674 | if (isset($event->end_date_offseted)) { |
|
4675 | $dtend = str_replace('-', '', $event->end_date_offseted); |
|
4676 | } else { |
|
4677 | $dtend = date('Ymd', $event->end); |
|
4678 | } |
|
4679 | // ���ϤȽ�λ��Ʊ��ξ��ϡ���λ������ˤ��餹 |
|
4680 | if ($dtstart == $dtend) { |
|
4681 | $dtend = date('Ymd', $event->end + 86400); |