Skip to content
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

[pickers] Time toolbar is not updated after timezone change #15412

Closed
ym010101 opened this issue Nov 14, 2024 · 3 comments · Fixed by #15435
Closed

[pickers] Time toolbar is not updated after timezone change #15412

ym010101 opened this issue Nov 14, 2024 · 3 comments · Fixed by #15435
Assignees
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! time-zone Issues about time zone management

Comments

@ym010101
Copy link

ym010101 commented Nov 14, 2024

Steps to reproduce

Steps:

  1. Open this link to live example: (required)
  2. https://codesandbox.io/p/sandbox/patient-wood-yzcfrh
  3. click toggle timezone button
  4. verify clock is updated but time label isn't updated

Current behavior

clock is updated but time label isn't updated after timezone change

Expected behavior

time label is updated after timezone change

Context

No response

Your environment

No response

Search keywords: DateTimePicker

@ym010101 ym010101 added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 14, 2024
@github-actions github-actions bot added the component: pickers This is the name of the generic UI component, not the React module! label Nov 14, 2024
@michelengelen
Copy link
Member

@LukasTy this is another issue about the label ... I know that there has been at least one, but could not find it. Should we mark this as duplicate still?

Screen.Recording.2024-11-14.at.15.46.16.mov

@michelengelen michelengelen changed the title Time label is not updated after timezone change [picers] Time label is not updated after timezone change Nov 14, 2024
@michelengelen michelengelen changed the title [picers] Time label is not updated after timezone change [pickers] Time label is not updated after timezone change Nov 15, 2024
@LukasTy
Copy link
Member

LukasTy commented Nov 15, 2024

@michelengelen This is a different issue.
We have fixed the problem where the value updates would not propagate the timezone to the layout components.
This is a case where the value does not change, just the timezone prop.
P.S. As we can see—it is correctly handled in the field state, but not in the "picker" state. 🙈

@LukasTy LukasTy added time-zone Issues about time zone management and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 15, 2024
@LukasTy LukasTy self-assigned this Nov 15, 2024
@LukasTy LukasTy changed the title [pickers] Time label is not updated after timezone change [pickers] Time toolbar is not updated after timezone change Nov 15, 2024
Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@ym010101 How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! time-zone Issues about time zone management
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants