aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorWesley Miaw <josuah@users.sourceforge.net>2003-09-20 00:37:36 +0000
committerWesley Miaw <josuah@users.sourceforge.net>2003-09-20 00:37:36 +0000
commit2ba3f29f78b9ee4d3358cf1daa4d1d2431c82aa2 (patch)
treef8d5923ae914ca8c4f2d4ffa325d3115a07d4767 /functions
parent6b386a7b724aac7510293ff277c285bc7450cd34 (diff)
downloadphpicalendar-2ba3f29f78b9ee4d3358cf1daa4d1d2431c82aa2.tar.gz
phpicalendar-2ba3f29f78b9ee4d3358cf1daa4d1d2431c82aa2.tar.bz2
phpicalendar-2ba3f29f78b9ee4d3358cf1daa4d1d2431c82aa2.zip
Patch [793608] $day_end value.
Users may now specify a $day_end value in config.inc.php to end the calendar display before midnight.
Diffstat (limited to 'functions')
-rw-r--r--functions/ical_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index 9045304..4a368ab 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -9,7 +9,7 @@ include(BASE.'functions/timezones.php');
$fillTime = $day_start;
$day_array = array ();
-while ($fillTime != '2400') {
+while ($fillTime < $day_end) {
array_push ($day_array, $fillTime);
ereg ('([0-9]{2})([0-9]{2})', $fillTime, $dTime);
$fill_h = $dTime[1];

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