mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
Typo in date calculation!
This commit is contained in:
parent
559573a2be
commit
9f50e9a667
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user