aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-11-09 20:53:11 +0000
committerChad Little <clittle@users.sourceforge.net>2004-11-09 20:53:11 +0000
commitac51fef7e80a4231bf1560a374922f94dbb42a9d (patch)
tree90902e211ea6dcf52336b44a77fc8d6c714281ea /functions
parentd2c224a35ab0e85537f98c6cf7fff00d169b24c2 (diff)
downloadphpicalendar-ac51fef7e80a4231bf1560a374922f94dbb42a9d.tar.gz
phpicalendar-ac51fef7e80a4231bf1560a374922f94dbb42a9d.tar.bz2
phpicalendar-ac51fef7e80a4231bf1560a374922f94dbb42a9d.zip
*** empty log message ***
Diffstat (limited to 'functions')
-rw-r--r--functions/ical_parser.php1
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)) {

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