Skip to content

Commit

Permalink
Revert "Merge branch 'MDL-48591_m28' of https://github.com/jrchamp/mo…
Browse files Browse the repository at this point in the history
…odle into MOODLE_28_STABLE"

This reverts commit a6af290, reversing
changes made to 267ac74.
  • Loading branch information
danpoltawski committed Dec 23, 2014
1 parent 7e911af commit 008e284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/lib.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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. // 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->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 // Align the starting weekday to fall in our display range
// This is simple, not foolproof. // This is simple, not foolproof.
Expand Down

0 comments on commit 008e284

Please sign in to comment.