Page MenuHomePhabricator

Detect timezone discrepancies and prompt users to reconcile them
ClosedPublic

Authored by epriestley on May 21 2016, 7:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 16, 6:52 AM
Unknown Object (File)
Sun, Feb 9, 1:39 AM
Unknown Object (File)
Sat, Feb 1, 12:23 AM
Unknown Object (File)
Tue, Jan 28, 10:07 AM
Unknown Object (File)
Tue, Jan 28, 12:59 AM
Unknown Object (File)
Thu, Jan 23, 3:27 PM
Unknown Object (File)
Tue, Jan 21, 10:22 AM
Unknown Object (File)
Jan 14 2025, 3:15 PM
Subscribers
None

Details

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)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable