From 2d0769b6931257999a91e2039c02fb9a9d7a0969 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 21 Oct 2002 15:35:13 +0000 Subject: Fixed 'Double Sunday' bug. --- month.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'month.php') 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 "
$day
"; - $start_day = ($start_day + (24.5 * 60 * 60)); + $start_day = strtotime("+1 day", $start_day); } ?> -- cgit v1.2.3