-
-
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][RFC] Which examples would you like to see for the Date and Time Pickers? #7769
Comments
How to deal with timezones if the date is independent to local time (e.g. birthday)?Mui uses a timestamp to represent the date within the picker, which may lead to problems if you are not storing a point in time (e.g. See the question here and my improved understanding after help of @LukasTy here. |
How can we change (customize) the view in time picker, from this (https://mui.com/x/react-date-pickers/time-picker/): |
How to test the date and time pickers. The docs mention some testing caveats, but testing got way more complicated in the MUI 6 pickers. We currently use a couple of functions that MUI uses internally via https://github.com/mui/mui-x/blob/97220aaf2964a9dcd08d6a2a263f4f1610d71a75/test/utils/pickers-utils.tsx. But it would be nice to have this properly documented. It might also be worth considering making part of these utils public. They're pretty opiniated, but they've been helping us a lot so far. I'm looking for:
|
How to handle a different timezone and how to customize the Adapter. I know that Date management in JS is a mess but it could be to have an example about handling a specific timezone across date management libraries. |
Summary
Hi everyone,
In the last MUI Developer survey, we've seen multiple requests for more examples in the documentation.
We hear you, and our goal is to provide the best experience and support for your projects.
So we'd like to ask the community: Which examples would help you accomplish your real-life use cases?
Feel free to let us know if you have ideas or struggle/have struggled with any particular customization because of a lack of an example.
🗳️ Request an example
Please leave your suggestions as comments on this thread (one request per comment), and feel free to 👍 upvote any comment with an example you'd like to see prioritized.
Thank you for your participation and valuable input!
🎯 Need some guidance to formulate your request?
You can use the following template.
["How to" Title]
[What I need in detail]
(Optional) [media with a visual concept]
📡 Example:
How can I change the adornment on the Date Picker v6?
I need to set custom adornments on the text input of the new Date Pickers to display another layer of information from my business logic.
The text was updated successfully, but these errors were encountered: