diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-02-15 15:56:56 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-02-15 15:56:56 +0000 |
commit | c1f0e6db93ee4ea98bd078b4d80fd778d269e920 (patch) | |
tree | c22fd4325716cf9a04e32c1b46e4a48b9fa82cb7 /rss | |
parent | b2bd2ded12454ce187f4c015a8ac743680d8ce01 (diff) | |
download | phpicalendar-c1f0e6db93ee4ea98bd078b4d80fd778d269e920.tar.gz phpicalendar-c1f0e6db93ee4ea98bd078b4d80fd778d269e920.tar.bz2 phpicalendar-c1f0e6db93ee4ea98bd078b4d80fd778d269e920.zip |
fix date calculation problems (I hope)
Diffstat (limited to 'rss')
-rw-r--r-- | rss/rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rss/rss.php b/rss/rss.php index ef19eae..70c4413 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -147,7 +147,7 @@ $numdays = round((strtotime($todate) - strtotime($fromdate))/(60*60*24))+1; $thisdate = $fromdate; # start at beginning of date range, # note that usage of $thisdate is different from distribution # I use it as a date, dist uses it as a time -$i = 0; #day counter +$i = 1; #day counter $uid_arr = array(); do { $thisdate=date('Ymd', strtotime($thisdate)); |