From 9f50e9a667f047df419b5bf4d346ecca7ebb91e4 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 2 Sep 2003 02:02:14 +0000 Subject: [PATCH] Typo in date calculation! --- mod/journal/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5