diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2005-03-01 05:38:55 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2005-03-01 05:38:55 +0000 |
commit | 7a885b6dbbf14ba26503361db31308ceab96f5ef (patch) | |
tree | 4a5e2813514ee6f9d033468f494dd72e6ab0c62f /rss | |
parent | 5d4d9f5525816b4e2899a5c803e127038f2e69a0 (diff) | |
download | phpicalendar-7a885b6dbbf14ba26503361db31308ceab96f5ef.tar.gz phpicalendar-7a885b6dbbf14ba26503361db31308ceab96f5ef.tar.bz2 phpicalendar-7a885b6dbbf14ba26503361db31308ceab96f5ef.zip |
Fix bug for rss at end of month.
Diffstat (limited to 'rss')
-rw-r--r-- | rss/rss.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rss/rss.php b/rss/rss.php index 4bd457c..a15195c 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -112,6 +112,8 @@ $thisdate = $fromdate; # start at beginning of date range, $i = 0; #day counter do { + $thisdate=date('Ymd', strtotime($thisdate)); + #echo "Date: $thisdate\n"; $dayofweek = localizeDate ("%a %b %e %Y", strtotime($thisdate)); if (isset($master_array[($thisdate)]) && sizeof($master_array[($thisdate)]) > 0) { foreach ($master_array[("$thisdate")] as $event_times) { |