From 45767449dc352297426560b28d643a8b4684ff93 Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 20 Mar 2001 00:45:41 +0000 Subject: [PATCH] Fix for bug #409624 - Improper handling of daylight savings time changeover --- calendar/inc/class.calendar.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar.inc.php b/calendar/inc/class.calendar.inc.php index 3c72a7a4e2..9b3461b858 100755 --- a/calendar/inc/class.calendar.inc.php +++ b/calendar/inc/class.calendar.inc.php @@ -168,7 +168,7 @@ class calendar extends calendar_ 5 => 'Sat', 6 => 'Sun' ); - $sday = mktime(0,0,0,$month,$day - ($weekday - 1),$year); + $sday = mktime(2,0,0,$month,$day - ($weekday - 1),$year); } else { @@ -181,7 +181,7 @@ class calendar extends calendar_ 5 => 'Fri', 6 => 'Sat' ); - $sday = mktime(0,0,0,$month,$day - $weekday,$year); + $sday = mktime(2,0,0,$month,$day - $weekday,$year); } $this->days = $days;