Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Typo in date calculation!

  • Loading branch information...
commit 9f50e9a667f047df419b5bf4d346ecca7ebb91e4 1 parent 559573a
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/journal/view.php
View
2  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 {
Please sign in to comment.
Something went wrong with that request. Please try again.