-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] fix the issue of the timezone change in Day calendar #12256
[pickers] fix the issue of the timezone change in Day calendar #12256
Conversation
Example code
|
Deploy preview: https://deploy-preview-12256--material-ui-x.netlify.app/ |
@LukasTy @michelengelen It seems to work I did some manual testing on this two example if you can also help in checking manually it would be great help. It is just sanity testing to check whether I am proceeding in right direction and didn't miss any case. I will add the test cases later. Q) Why I consider this two example only ? |
3edc491
to
33f17cc
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
c27e5b8
to
8f31c76
Compare
cf64f7b
to
0579906
Compare
@michelengelen @LukasTy if you can check it |
ec3573c
to
00887cc
Compare
acfe590
to
4da767d
Compare
7217396
to
b7122a7
Compare
@LukasTy If you can kindly review the PR. I assume argos failing test can be ignored as current image is correct. |
@shaharyar-shamshi Thank you for taking your time on this issue. |
I think problem is more of how we manage the timezone change. Timezone in itself work but major problem is how we are actually using that changed timezone. For example in this example timezone change was working correctly but we were not correctly handling the returned result by normalization. I am also checking other places where we might encounter similar kind of issue with timezone. |
@shaharyar-shamshi I've created a PR (#12321), which, I think, solves the problem in a bit more reliable and correct way. |
fixes #12195