MDL-41792 core_calendar: fixed issues when using multiple calendar types
commit1032966ceef0195ff381d60440ae9eef3c3c230a
authorMark Nelson <markn@moodle.com>
Wed, 9 Oct 2013 08:39:53 +0000 (9 16:39 +0800)
committerMark Nelson <markn@moodle.com>
Fri, 11 Oct 2013 08:28:04 +0000 (11 16:28 +0800)
tree9ee384d84e2626947c0de748fac351c5fa55ea92
parent1b7930fe4acf9dea8d9ae44b4fd541aaab7214c2
MDL-41792 core_calendar: fixed issues when using multiple calendar types

1) No longer assume that the end of the current month in Gregorian will be
the end of the month for the calendar type being used.
2) Need to take into account the hours and minutes a calendar type may vary
in order to generate timestamps.
3) When generating the previous and next month links start at the beginning
of the month, not the current day.
4) Need to convert to Gregorian when creating timestamps during calendar
exports.
calendar/export_execute.php
calendar/lib.php
calendar/renderer.php