Closed SatendraRaghav closed 6 months ago
Hey @SatendraRaghav,
Could you please provide a minimal reproduction test case with the latest version. This would help a lot 👷.
Also there is a timezone
prop on the DatePicker (API docs).
It does indeed seem to be a bit off @LukasTy ... 🤔 Any idea where that would come from? Or is this expected behaviour?
@SatendraRaghav I've tried reproducing your case with having old data in the FormData
, but to no avail.
Could you please provide more details, as Michel mentioned?
@LukasTy this seems indeed a bug but one major observation that I made is this happen when we switch to any American timezone. This works fine for switching from UTC to Asia/Calcutta. But when we switch from UTC to any American timezone this bug occur. Also Luxon give same issue.
@LukasTy This seems to be duplicate of https://github.com/mui/mui-x/issues/10804.
If we plan to fix this can I pick this issue.
This seems to be duplicate of #10804.
Good observation. Maybe it is, we'd need more information from the issue author to confirm it. 👍
If we plan to fix this can I pick this issue.
@shaharyar-shamshi Oh yes, that was one of the more immediate things on the agenda. Timezone management issues could be non-trivial to solve and we need reliable tests to cover those problems. If you are up for the challenge - feel free to look into it. 😉
This seems to be duplicate of #10804.
Good observation. Maybe it is, we'd need more information from the issue author to confirm it. 👍
If we plan to fix this can I pick this issue.
@shaharyar-shamshi Oh yes, that was one of the more immediate things on the agenda. Timezone management issues could be non-trivial to solve and we need reliable tests to cover those problems. If you are up for the challenge - feel free to look into it. 😉
Timezone 😭 I am up for the challenge but I might require some more context. let me explore this more
@shaharyar-shamshi let me know if you are still up for the challenge. If not we can just take it from here. Thanks for looking into it and don't hesitate to reach out for help! 💪🏼
@shaharyar-shamshi let me know if you are still up for the challenge. If not we can just take it from here. Thanks for looking into it and don't hesitate to reach out for help! 💪🏼
yes I am up for this challenge I have just started looking into the code and understand how timezone is managed
The issue has been inactive for 7 days and has been automatically closed.
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
Previous date is coming in payload and also there is no props available to set timezone in DatePicker.
Expected behavior
Selected date should be come and there should be timezone props to change date according to timezone.
Context
No response
Your environment
``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```npx @mui/envinfo
Search keywords: timezone,datepicker, UTC,
Search keywords: