MDL-58536 block_myoverview: use moodle user timezone for midnight calc
authorRyan Wyllie <ryan@moodle.com>
Fri, 7 Apr 2017 06:29:15 +0000 (06:29 +0000)
committerRyan Wyllie <ryan@moodle.com>
Wed, 19 Apr 2017 05:38:25 +0000 (05:38 +0000)
commit5f6ff89549c560655a5ca1b48511aac65fcbc635
treeab4b56824e6abd3dcca844898b85c27239e307be
parent6d14355ce830af59ce004e8ce71a797c6ec9b4b2
MDL-58536 block_myoverview: use moodle user timezone for midnight calc

Pass the user's midnight timestamp to the javascript to ensure that a
user's timezone is respected when calculating the categories the events
should be placed in on the event list.
blocks/myoverview/amd/build/event_list.min.js
blocks/myoverview/amd/build/event_list_by_course.min.js
blocks/myoverview/amd/src/event_list.js
blocks/myoverview/amd/src/event_list_by_course.js
blocks/myoverview/classes/output/main.php
blocks/myoverview/templates/course-event-list.mustache
blocks/myoverview/templates/event-list.mustache