aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-01-26 18:48:43 +0000
committerChad Little <clittle@users.sourceforge.net>2004-01-26 18:48:43 +0000
commit044a72589427d5fa7f5e59562300bd9c2844ce89 (patch)
treebb931386da50c4b6b4202c11e38acaa3b77787da /day.php
parentd85c0578f18324c7c0b764f2e6969908f426349f (diff)
downloadphpicalendar-044a72589427d5fa7f5e59562300bd9c2844ce89.tar.gz
phpicalendar-044a72589427d5fa7f5e59562300bd9c2844ce89.tar.bz2
phpicalendar-044a72589427d5fa7f5e59562300bd9c2844ce89.zip
strtotime improperly reports '0005' as '5AM', a workaround is in place. changed version to 1.2
Diffstat (limited to 'day.php')
-rw-r--r--day.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/day.php b/day.php
index 8a34cfe..220903d 100644
--- a/day.php
+++ b/day.php
@@ -221,7 +221,7 @@ include (BASE.'includes/header.inc.php');
switch ($event_length[$i]['state']) {
case 'begin':
$event_length[$i]['state'] = 'started';
- $event_start = strtotime ($this_time_arr[($event_length[$i]['key'])]['event_start']);
+ $event_start = $this_time_arr[($event_length[$i]['key'])]['start_unixtime'];
$event_end = strtotime ($this_time_arr[($event_length[$i]['key'])]['event_end']);
if (isset($this_time_arr[($event_length[$i]['key'])]['display_end'])) $event_end = strtotime ($this_time_arr[($event_length[$i]['key'])]['display_end']);
$event_start = date ($timeFormat, $event_start);

© 2014-2022 Faster IT GmbH | imprint | privacy policy