From: moodler Date: Tue, 2 Sep 2003 02:02:14 +0000 (+0000) Subject: Typo in date calculation! X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9f50e9a667f047df419b5bf4d346ecca7ebb91e4;p=moodle.git Typo in date calculation! --- diff --git a/mod/journal/view.php b/mod/journal/view.php index b7628b9166..7e7982cd67 100644 --- a/mod/journal/view.php +++ b/mod/journal/view.php @@ -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 {