From c1f0e6db93ee4ea98bd078b4d80fd778d269e920 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 15 Feb 2006 15:56:56 +0000 Subject: fix date calculation problems (I hope) --- rss/rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rss') 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)); -- cgit v1.2.3