]> git.mjollnir.org Git - moodle.git/commitdiff
Typo in date calculation!
authormoodler <moodler>
Tue, 2 Sep 2003 02:02:14 +0000 (02:02 +0000)
committermoodler <moodler>
Tue, 2 Sep 2003 02:02:14 +0000 (02:02 +0000)
mod/journal/view.php

index b7628b916676d5cde93b3277507fea01a202dec9..7e7982cd67d2367de95ede826ebaba9e65bf36be 100644 (file)
@@ -52,7 +52,7 @@
     $timenow = time();
 
     if ($course->format == "weeks" and $journal->days) {
-        $timestart = $course->startdate + (($cw->section - 1) * 608400);
+        $timestart = $course->startdate + (($cw->section - 1) * 604800);
         if ($journal->days) {
             $timefinish = $timestart + (3600 * 24 * $journal->days);
         } else {