Page MenuHomePhabricator

Suggest better start/end datetimes for Calendar events
ClosedPublic

Authored by epriestley on Oct 26 2016, 7:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 2:41 PM
Unknown Object (File)
Fri, Apr 12, 1:18 PM
Unknown Object (File)
Thu, Apr 11, 9:22 PM
Unknown Object (File)
Thu, Apr 11, 7:02 AM
Unknown Object (File)
Mon, Apr 8, 2:06 PM
Unknown Object (File)
Wed, Mar 27, 12:32 PM
Unknown Object (File)
Wed, Mar 27, 12:31 PM
Unknown Object (File)
Wed, Mar 27, 12:31 PM
Subscribers
None

Details

Summary

Fixes T11638.

  • Fix a regression: I broke this "round to the nearest hour" code a while ago while fiddling with datetimes.
  • Improve a beahvior: from the day view, make the menu-bar "Create Event" button default to creating an event on the day you were viewing.
Test Plan

Created events from month and day views, got nice round numbers and proper day suggestions.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Suggest better start/end datetimes for Calendar events.
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.Oct 26 2016, 8:09 PM
This revision was automatically updated to reflect the committed changes.