aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-16 06:09:09 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-16 06:09:09 +0000
commitbfcd75e5f3eddb0efd335f736263b00ea057b6f9 (patch)
tree211ed098fc4e52ba298e4ca643d03785739d0c35 /week.php
parentbb3f89eb60cd5917f6764e77dbd1bab720e79b19 (diff)
downloadphpicalendar-bfcd75e5f3eddb0efd335f736263b00ea057b6f9.tar.gz
phpicalendar-bfcd75e5f3eddb0efd335f736263b00ea057b6f9.tar.bz2
phpicalendar-bfcd75e5f3eddb0efd335f736263b00ea057b6f9.zip
Initial bleed time and display end checkin.
Diffstat (limited to 'week.php')
-rw-r--r--week.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/week.php b/week.php
index 0d3e0c7..488d707 100644
--- a/week.php
+++ b/week.php
@@ -304,7 +304,8 @@ include (BASE.'includes/header.inc.php');
echo "<tr>\n";
echo '<td class="eventbg_'.$event_calno.'">';
$event_end = $this_time_arr[($event_length[$thisday][$i]["key"])]["end_unixtime"];
- $event_end = date ($timeFormat, $event_end);
+ if (isset($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end'])) $event_end = strtotime ($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end']);
+ $event_end = date ($timeFormat, $event_end);
// Todo: keep track of where the event comes from, and indicate that to openevent instead of $ALL_CALENDARS_COMBINED
if ($cal == $ALL_CALENDARS_COMBINED) $calendar_name2=$cal; else $calendar_name2=$calendar_name;
openevent("$calendar_name2",

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