mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Revert "Merge branch 'patch-1' of https://github.com/jrchamp/moodle"
This reverts commit d61ecfffe5a568bf1e6cb7684264272413ff5766, reversing changes made to e04cf8d83fa0f392f9ce8ee50d94610b7073e73d.
This commit is contained in:
parent
9835839186
commit
ffd95d4420
@ -249,7 +249,7 @@ function calendar_get_mini($courses, $groups, $users, $calmonth = false, $calyea
|
||||
|
||||
// These are used for DB queries, so we want unixtime, so we need to use Gregorian dates.
|
||||
$display->tstart = make_timestamp($gy, $gm, $gd, $gh, $gmin, 0);
|
||||
$display->tend = strtotime("+{$display->maxdays} days", $display->tstart) - 1;
|
||||
$display->tend = $display->tstart + ($display->maxdays * DAYSECS) - 1;
|
||||
|
||||
// Align the starting weekday to fall in our display range
|
||||
// This is simple, not foolproof.
|
||||
|
Loading…
x
Reference in New Issue
Block a user