HomePhabricator

Detect timezone discrepancies and prompt users to reconcile them

Tags
None
Referenced Files
F1654528: Screen Shot 2016-05-21 at 3.08.53 PM.png
May 21 2016, 8:25 PM
F1654530: Screen Shot 2016-05-21 at 3.09.23 PM.png
May 21 2016, 8:25 PM
F1654529: Screen Shot 2016-05-21 at 3.09.08 PM.png
May 21 2016, 8:25 PM
Subscribers
None

Description

Detect timezone discrepancies and prompt users to reconcile them

Summary: Ref T3025. This adds a check for different client/server timezone offsets and gives users an option to fix them or ignore them.

Test Plan:

  • Fiddled with timezone in Settings and System Preferences.
  • Got appropriate prompts and behavior after simulating various trips to and from exotic locales.

In particular, this slightly tricky case seems to work correctly:

  • Travel to NY.
  • Ignore discrepancy (you're only there for a couple hours for an important meeting, and returning to SF on a later flight).
  • Return to SF for a few days.
  • Travel back to NY.
  • You should be prompted again, since you left the timezone after you ignored the discrepancy.

Screen Shot 2016-05-21 at 3.08.53 PM.png (722×1 px, 90 KB)

Screen Shot 2016-05-21 at 3.09.08 PM.png (615×1 px, 125 KB)

Screen Shot 2016-05-21 at 3.09.23 PM.png (722×1 px, 89 KB)

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T3025

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