From 674416eabd754af2776f5017d5a571007ae9a3b9 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 6 Aug 2003 15:32:31 +0000 Subject: [PATCH] Add two hours to avoid possible daylight savings time problems --- course/format/weeks.php | 1 + 1 file changed, 1 insertion(+) diff --git a/course/format/weeks.php b/course/format/weeks.php index 92e31f63fd..b94ed72723 100644 --- a/course/format/weeks.php +++ b/course/format/weeks.php @@ -132,6 +132,7 @@ /// Now all the weekly sections $timenow = time(); $weekdate = $course->startdate; // this should be 0:00 Monday of that week + $weekdate += 7200; // Add two hours to avoid possible DST problems $section = 1; $sectionmenu = array(); $weekofseconds = 604800; -- 2.39.5