HomePhabricator

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

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

Provenance
epriestleyAuthored on
epriestleyPushed on May 8 2015, 1:57 AM
Reviewer
lpriestley
Differential Revision
D12765: Translate "All Day" events into the viewer's time
Parents
rP57e22e3ce591: Just a sql patch for all day events.
Branches
Unknown
Tags
Unknown
Tasks
T8021: Implement "All Day" events