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] Add a default AM or PM to the time picker #13078

Closed
Gabsop opened this issue May 10, 2024 · 3 comments
Closed

[pickers] Add a default AM or PM to the time picker #13078

Gabsop opened this issue May 10, 2024 · 3 comments
Labels
component: pickers This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information

Comments

@Gabsop
Copy link

Gabsop commented May 10, 2024

Summary

The Time Pickers always defaults to AM when I the user selects the first value. The feature would be to add a default={"AM"} or default={"PM"} so that we can set the default to "PM" when a user is selecting a time

Examples

No response

Motivation

No response

Search keywords: timepicker

@Gabsop Gabsop added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 10, 2024
@Gabsop Gabsop closed this as completed May 10, 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.

@Gabsop: 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.

@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 10, 2024
@Gabsop Gabsop reopened this May 10, 2024
@flaviendelangle
Copy link
Member

flaviendelangle commented May 10, 2024

Hi,

You can use the referenceDate prop to decide what date should be applied when you click on a section.
For your usecase, you can just put an hour that is above 12 and it will work.

See this working example

@flaviendelangle flaviendelangle added status: waiting for author Issue with insufficient information component: pickers This is the name of the generic UI component, not the React module! labels May 13, 2024
@flaviendelangle flaviendelangle changed the title Add a default AM or PM to the time picker [pickers] Add a default AM or PM to the time picker May 13, 2024
Copy link

The issue has been inactive for 7 days and has been automatically closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

2 participants