-
-
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] Add proper support for UTC and timezones #8261
Conversation
Netlify deploy previewNetlify deploy preview: https://deploy-preview-8261--material-ui-x.netlify.app/ Updated pages
These are the results for the performance tests:
|
666e361
to
6c731e2
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
703bd78
to
fac3524
Compare
fac3524
to
9ab2ab2
Compare
7f531f3
to
5485688
Compare
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.
Nice work taming this beast! It feels easy to work with timezones now :)
ef06433
to
e6a24eb
Compare
e6a24eb
to
910fc37
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Doc preview
Follow up on #9068
Closes #8484
Fixes #8334
Fixes #5876
Challenges
isSame
method is based on local timezone (or UTC if the two dates are UTC). In the day view we highlight the current day and we want it to be the current day, in the timezone ofprops.timezone
.startOf
method performances are catastrophic when using timezone and Dayjs is using all over the place... I'm trying to skip its usage when possible