From df30ccb06109a7bcd9a4d830aba696a79f1511b4 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 26 Jun 2001 15:43:29 +0000 Subject: The ever persistant typo..... --- modules/calendar.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/calendar.module b/modules/calendar.module index a2e66f3a5..e60e47dc2 100644 --- a/modules/calendar.module +++ b/modules/calendar.module @@ -30,7 +30,7 @@ class Calendar { // Calculate previous and next months dates and check for shorter months (28/30 days) $prevmonth = mktime(23, 59, 59, $month - 1, 1, $year); $prev = mktime(23, 59, 59, $month - 1, min(date("t", $prevmonth), $day), $year); - $nextmonth = mktime(23, 59, 59, $month + 1, 31, $year); + $nextmonth = mktime(23, 59, 59, $month + 1, 1, $year); $next = mktime(23, 59, 59, $month + 1, min(date("t", $nextmonth), $day), $year); // Generate calendar header: -- cgit v1.2.3