canvas-lms/app/jsx/dashboard
Jon Willesen f1e1a2712c fix fancy midnight on todo sidebar
planner wasn't being initialized with the proper timezone when the todo
sidebar was being loaded. The api data was being parsed in UTC, but then
displayed in the user's timezone.

fixes ADMIN-1335

test plan:
- have an assignment due at exactly midnight in the UTC timezone
- have a student in a different timezone.
- the todo sidebar on the dashboard should show the proper time to the
student in their timezone
- make sure planner and to-do sidebar still work:
  - when you're a teacher on the card view dashboard
  - when you're a student on the card view dashboard
  - when you're a student on the list view dashboard
  - when you're a teacher on the course show page
  - when you're a student on the course show page

Change-Id: Ia5320bc4866dbebeec6e6a80ca66b1c3f16c7c07
Reviewed-on: https://gerrit.instructure.com/162462
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Tested-by: Jenkins
Product-Review: Jon Willesen <jonw+gerrit@instructure.com>
2018-09-06 17:16:51 +00:00
..
DashboardHeader.js fix fancy midnight on todo sidebar 2018-09-06 17:16:51 +00:00