Skip to content
Permalink
Browse files

Add two hours to avoid possible daylight savings time problems

  • Loading branch information...
moodler
moodler committed Aug 6, 2003
1 parent b24f146 commit 674416eabd754af2776f5017d5a571007ae9a3b9
Showing with 1 addition and 0 deletions.
  1. +1 −0 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;

0 comments on commit 674416e

Please sign in to comment.
You can’t perform that action at this time.