Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: functions_calendar.php 3975 2008-07-03 23:07:21Z Tikitiki $
| * $Id: functions_calendar.php 4304 2009-01-02 01:11:56Z chris $
|
*/
/**
| */
/**
|
Zeile 419 | Zeile 419 |
---|
else { $event_date = explode("-", gmdate("j-n-Y", $event['starttime_user']));
|
else { $event_date = explode("-", gmdate("j-n-Y", $event['starttime_user']));
|
$event['endtime_user'] = $event['endtime']+$offset*3600;
| $event['endtime_user'] = $event['endtime']+($offset*3600);
|
$event['weekday_start'] = $calendar['weekstart'];
$start_day = gmmktime(0, 0, 0, $event_date[1], $event_date[0], $event_date[2]);
| $event['weekday_start'] = $calendar['weekstart'];
$start_day = gmmktime(0, 0, 0, $event_date[1], $event_date[0], $event_date[2]);
|
Zeile 445 | Zeile 445 |
---|
$first = ""; $event_date = explode("-", gmdate("j-n-Y", $range_start));
|
$first = ""; $event_date = explode("-", gmdate("j-n-Y", $range_start));
|
// Get rid of hour/minutes because sometimes they cause the events to stretch into the next day $range_end = gmmktime(0, 0, 0, gmdate("n", $event['endtime']), gmdate("j", $event['endtime']), gmdate("Y", $event['endtime']));
| $range_end = gmmktime(23, 59, 59, gmdate("n", $event['endtime']), gmdate("j", $event['endtime']), gmdate("Y", $event['endtime']));
|
while($range_start < $range_end) { // Outside the dates we care about, break! (No unnecessary looping here!)
| while($range_start < $range_end) { // Outside the dates we care about, break! (No unnecessary looping here!)
|