-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date Picker: show timezone abbreviation if possible #12353
Conversation
Plugin builds for 8d1f35e are ready 🛎️!
|
Size Change: +29 B (0%) Total Size: 2.71 MB ℹ️ View Unchanged
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint error
If you set the time zone to christmas, then you get some weird styling issues. See gutenberg. Any thoughts on this @swissspidy ? |
Perhaps easiest to write some Jest tests with a data provider so we can discuss expected behavior for a case like this. |
I don't know what is the expected behavior. What do you expect to happen here? |
The output in the Gutenberg calendar looks more reasonable.
|
@swissspidy The logic is now exactly the same as gutenberg. In my testing it seems to work well and is inline with what users would expect, if they have used the gutenberg date picker. |
@spacedmonkey - i found one place where the new time zone information is only partially visible: within the Publish / Story Details popup that you get when user first publishes the story: Is this something that we should fix ? |
Verified via stories-qa test story:
Here are a few of the timezones that I tried: |
The tooltip is not newly added in this PR. We can deal with this in #1391 |
Context
Summary
Have a more human readable time zone in date picker.
Relevant Technical Choices
To-do
User-facing changes
Testing Instructions
This PR can be tested by following these steps:
Reviews
Does this PR have a security-related impact?
Does this PR change what data or activity we track or use?
Does this PR have a legal-related impact?
Checklist
Type: XYZ
label to the PRFixes #12234