diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-11-09 20:53:11 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-11-09 20:53:11 +0000 |
commit | ac51fef7e80a4231bf1560a374922f94dbb42a9d (patch) | |
tree | 90902e211ea6dcf52336b44a77fc8d6c714281ea /functions | |
parent | d2c224a35ab0e85537f98c6cf7fff00d169b24c2 (diff) | |
download | phpicalendar-ac51fef7e80a4231bf1560a374922f94dbb42a9d.tar.gz phpicalendar-ac51fef7e80a4231bf1560a374922f94dbb42a9d.tar.bz2 phpicalendar-ac51fef7e80a4231bf1560a374922f94dbb42a9d.zip |
*** empty log message ***
Diffstat (limited to 'functions')
-rw-r--r-- | functions/ical_parser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index f42f8b3..dabc3fb 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -534,6 +534,7 @@ foreach ($cal_filelist as $filename) { $next_date_time = $next_date_time; if ((isset($bymonthday)) && (!isset($byday))) { foreach($bymonthday as $day) { + if ($day < 0) $day = ((date('t', $next_range_time)) + ($day)) + 1; $year = date('Y', $next_range_time); $month = date('m', $next_range_time); if (checkdate($month,$day,$year)) { |