Homec4science

Fix a bug on Calendar event day views for all day events in certain timezones

Authored by epriestley <git@epriestley.com> on Nov 15 2016, 19:17.

Description

Fix a bug on Calendar event day views for all day events in certain timezones

Summary:
Ref T11816. This logic was correct, we just did all the work and then mostly threw away the results. This worked correctly anyway in some timezones.

Instead, actually use $min_date and $max_date.

Test Plan: In "America/Toronto" with server in a more-western timezone, viewed a "Nov 11 - Nov 12" all-day event, saw those dates.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11816

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

Details

Committed
epriestley <git@epriestley.com>Nov 15 2016, 20:10
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf91269a4a8a6: On tablet/mobile, open the datepicker control in the center of the screen and…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH6464934cd6be: Fix a bug on Calendar event day views for all day events in certain timezones (authored by epriestley <git@epriestley.com>).Nov 15 2016, 20:10