aboutsummaryrefslogtreecommitdiffstats
path: root/year.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 /year.php
parentc5e186b05a38ccfaaf88bbc6b2d6a9418d54a5a8 (diff)
downloadphpicalendar-2d0769b6931257999a91e2039c02fb9a9d7a0969.tar.gz
phpicalendar-2d0769b6931257999a91e2039c02fb9a9d7a0969.tar.bz2
phpicalendar-2d0769b6931257999a91e2039c02fb9a9d7a0969.zip
Fixed 'Double Sunday' bug.
Diffstat (limited to 'year.php')
-rw-r--r--year.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/year.php b/year.php
index e064345..48a049f 100644
--- a/year.php
+++ b/year.php
@@ -94,7 +94,7 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
$day_num = date("w", $start_day);
$day = $daysofweekshort_lang[$day_num];
print '<td width="30" height="14" class="dateback" align="center"><font class="V9BOLD">' . $day . '</td>' . "\n";
- $start_day = ($start_day + (24.5 * 60 * 60));
+ $start_day = strtotime("+1 day", $start_day);
}
?>
</tr>

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