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

Unable to select 24 in showTimeSelectOnly #4691

Open
Nestoro opened this issue Apr 15, 2024 · 1 comment
Open

Unable to select 24 in showTimeSelectOnly #4691

Nestoro opened this issue Apr 15, 2024 · 1 comment

Comments

@Nestoro
Copy link

Nestoro commented Apr 15, 2024

Is your feature request related to a problem? Please describe.

In the showTimeSelectOnly picker using HH:mm formatting there is no 24.

Describe the solution you'd like

The range extended in showTimeSelectOnly mode to show 24

Should be realizable by changing this line:

for (let i = 0; i < multiplier; i++) {

to be less or equal. But the display might flip to 0.

@hugoburguete
Copy link

You can change your date format to kk:mm to achieve this. You can find all the available date time formats here. kk corresponds to hours between 1 and 24.

But interestingly, the 24:00 option will be displayed at the top of the dropdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants