Homec4science

Probably fix some display issues with all-day events?

Authored by epriestley <git@epriestley.com> on Nov 7 2016, 19:38.

Description

Probably fix some display issues with all-day events?

Summary:
Ref T11801. These are pretty fiddly because users expect to see the end time for timed events ("10 AM - 11 AM" is ONE hour long) but not for all-day events ("Nov 2 - Nov 3" is TWO days long!)

We also want to store the thing the user actually entered so we don't lose data if they un-all-day the event later.

This may take a little more fiddling since it feels a little shaky, but I couldn't break this version immediately.

Test Plan: Imported a French holiday, got proper display in the UI.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11801

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

Details

Committed
epriestley <git@epriestley.com>Nov 7 2016, 19:55
Pushed
aubortJan 31 2017, 17:16
Parents
rPH7ddd570fa535: Provide a standalone `bin/calendar reload ...` workflow for testing/debugging
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH87c4efdb634b: Probably fix some display issues with all-day events? (authored by epriestley <git@epriestley.com>).Nov 7 2016, 19:55