diff options
author | Wesley Miaw <josuah@users.sourceforge.net> | 2003-09-20 00:37:36 +0000 |
---|---|---|
committer | Wesley Miaw <josuah@users.sourceforge.net> | 2003-09-20 00:37:36 +0000 |
commit | 2ba3f29f78b9ee4d3358cf1daa4d1d2431c82aa2 (patch) | |
tree | f8d5923ae914ca8c4f2d4ffa325d3115a07d4767 /functions | |
parent | 6b386a7b724aac7510293ff277c285bc7450cd34 (diff) | |
download | phpicalendar-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.php | 2 |
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]; |