RS Post Settings: Use device timezone for date picker#22704
Open
RS Post Settings: Use device timezone for date picker#22704
Conversation
The date/time picker was using UTC for display and selection, causing users to see times offset from their local timezone. Switch to device timezone to match the old post settings behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Generated by 🚫 Danger |
Show the device timezone abbreviation (e.g., EST, PST) after the formatted date so users know which timezone the date refers to. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Contributor
|
|
Contributor
|
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #22704 +/- ##
==========================================
- Coverage 37.49% 37.49% -0.01%
==========================================
Files 2286 2286
Lines 120484 120489 +5
Branches 16501 16501
==========================================
Hits 45173 45173
- Misses 71637 71642 +5
Partials 3674 3674 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Description
The RS post settings date/time picker was using UTC for displaying and selecting dates, causing users in non-UTC timezones to see times offset from their local time. This switches to device timezone to match the behavior of the old post settings date picker.
In order to avoid confusion regarding the timezone, I've also updated the displayed date/time to include the timezone, which is something the older picker didn't have.
Testing instructions
Date picker timezone: