Page MenuHomePhabricator

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

Authored by epriestley on Nov 15 2016, 6:19 PM.
Tags
None
Referenced Files
F13096676: D16867.diff
Thu, Apr 25, 6:18 PM
Unknown Object (File)
Fri, Apr 19, 5:40 PM
Unknown Object (File)
Fri, Apr 12, 6:36 AM
Unknown Object (File)
Fri, Apr 12, 12:36 AM
Unknown Object (File)
Thu, Apr 11, 9:12 AM
Unknown Object (File)
Tue, Apr 2, 6:00 AM
Unknown Object (File)
Sat, Mar 30, 4:37 PM
Unknown Object (File)
Sat, Mar 30, 4:37 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a bug on Calendar event day views for all day events in certain timezones.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 15 2016, 6:23 PM
This revision was automatically updated to reflect the committed changes.