Join GitHub today
Post Scheduled Date Time Zone Conversions #13128
This adds date formatters which consider the site's time zone instead of relying on device time zone settings. After this change, times shown in the Settings screen will show the time according to the site's time zone.
Example Post (w/ screenshots)
Here are some screenshots illustrating the same scheduled post (Scheduled for 10:00AM Central Standard Time, 9:00AM in my local Mountain Standard Time) across the web and iOS products after this change:
Here are the key changes:
Reviewing Other Platforms
I checked this behavior against the web client behavior and there are a few things I wanted to point out:
PR submission checklist:
* Adds date formatters which consider the time zone. * Adds localized time zone string to make it more obvious which time zone will be used. * Adds past published message for footer text
* Moves the time zone specific date formatters or publishing to their own location * Adds unit tests around screens to ensure date values are correctly passed * Adds `testDisplayDate` to verify that the timezone conversion (as shown in the Publish Settings screen, at least) handles basic time zone conversion
@ScoutHarris So I went back and checked version 13.4.0 so I think you're right that the incorrect timestamp issue may go back a ways. What do you think of this for the Release Notes?