aboutsummaryrefslogtreecommitdiffstats
path: root/month.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-21 15:35:13 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-21 15:35:13 +0000
commit2d0769b6931257999a91e2039c02fb9a9d7a0969 (patch)
treef289e7bf2eb2effb3a9fa8e6785e8ffc02497027 /month.php
parentc5e186b05a38ccfaaf88bbc6b2d6a9418d54a5a8 (diff)
downloadphpicalendar-2d0769b6931257999a91e2039c02fb9a9d7a0969.tar.gz
phpicalendar-2d0769b6931257999a91e2039c02fb9a9d7a0969.tar.bz2
phpicalendar-2d0769b6931257999a91e2039c02fb9a9d7a0969.zip
Fixed 'Double Sunday' bug.
Diffstat (limited to 'month.php')
-rw-r--r--month.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/month.php b/month.php
index 421c199..090291c 100644
--- a/month.php
+++ b/month.php
@@ -81,7 +81,7 @@
$day_num = date("w", $start_day);
$day = $daysofweek_lang[$day_num];
print "<td valign=\"top\" width=\"105\" height=\"12\" class=\"dateback\"><center><font class=\"V9BOLD\">$day</font></center></td>";
- $start_day = ($start_day + (24.5 * 60 * 60));
+ $start_day = strtotime("+1 day", $start_day);
}
?>
</tr>

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