HomePhorge

Show more of UTC offset when user's TZ is not an integer number of hours offset

Description

Show more of UTC offset when user's TZ is not an integer number of hours offset

Summary: See https://discourse.phabricator-community.org/t/personal-timezone-setting-mismatch-cleared-and-more-specific-cases/1680. The code has always worked correctly, but the resulting timezone mismatch warning messsage wasn't specific enough when the mismatch is by a non-integer number of hours.

Test Plan: Set timezone locally to Asia/Vladivostok and in Phabricator to Australia/Adelaide (which as of today's date are 30 minutes apart) and observed a more precise error message: F6061330

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

Details

Provenance
Austin McKinleyAuthored on Dec 12 2018, 1:02 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP2814d340367c: Fix a stray qsprintf() in the Herald rules engine when recording rule…
Branches
Unknown
Tags
Unknown

Event Timeline