Homec4science

Translate "All Day" events into the viewer's time

Authored by epriestley <git@epriestley.com> on May 8 2015, 03:57.

Description

Translate "All Day" events into the viewer's time

Summary:
Ref T8021.

  • When "All Day" events are loaded, convert them into the viewer's time.
  • When "All Day" events are saved, convert them into a +24 hour range.

Test Plan:

  • Created and updated "All Day" events.
  • Created and updated normal events.
  • Changed timezones, edited and viewed "All Day" events and normal events.
  • In all cases, "All Day" events appeared to be 12:00AM - 11:59:59PM to the viewer, on the correct day.
  • Normal events shifted around properly according to timezones.

Reviewers: lpriestley

Reviewed By: lpriestley

Subscribers: epriestley

Maniphest Tasks: T8021

Differential Revision: https://secure.phabricator.com/D12765

Details

Committed
epriestley <git@epriestley.com>May 8 2015, 03:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPH57e22e3ce591: Just a sql patch for all day events.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf3d76a90f0e3: Translate "All Day" events into the viewer's time (authored by epriestley <git@epriestley.com>).May 8 2015, 03:57