aboutsummaryrefslogtreecommitdiffstats
path: root/rss
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-02-15 15:56:56 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-02-15 15:56:56 +0000
commitc1f0e6db93ee4ea98bd078b4d80fd778d269e920 (patch)
treec22fd4325716cf9a04e32c1b46e4a48b9fa82cb7 /rss
parentb2bd2ded12454ce187f4c015a8ac743680d8ce01 (diff)
downloadphpicalendar-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.php2
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));

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