From: moodler Date: Wed, 6 Aug 2003 15:32:31 +0000 (+0000) Subject: Add two hours to avoid possible daylight savings time problems X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=674416eabd754af2776f5017d5a571007ae9a3b9;p=moodle.git Add two hours to avoid possible daylight savings time problems --- 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;