-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot set hour 24:00 #367
Comments
I figure out the possibility to have hour 24:00 with setting maxHours to 25 or 24.1. Sorry for that. But I've noticed that I can still setup minutes so I can set 24:59 and it will accept. Is there a possibility to configure it in a way that when the hour 24 is chosen it sets minutes to 00? |
24:00 does not exist as a time. The correct time for midnight is: 00:00. The day starts at zero not 1. https://www.timeanddate.com/time/leapseconds.html Might be an issue for people working in the rather specialise atomic time measurement industry? |
Is there any way to add to either decrementHour or decrementMinute function then when maxHours-1 has been chosen the minutes and seconds will be "00"? |
Within timepicker.js I've modified few lines and added a variable maxHoursMSalign and this did the trick. It's decrement to
|
From issue above:
|
Is there any way to have a possibility to set hour 24:00. I can set 23:59 but is there a possibility to set hour 24 when showMeridian is set to false?
The text was updated successfully, but these errors were encountered: