-
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
24 Hour Time And Meridian = True Does Not Work Correctly #222
Comments
with some changes for variable length... eg: Czech [dop., odp.]
"When the time is greater than 11 you will notice that the meridian is ALWAYS AM when it should be PM." - Also if is true that if when use meridian there should be not an input hour > 12 is handy that is automatically understood and converted, in my opinion better than setting to 12 whatever hour > 12 is configured
I'm not sure I understand: Are you saying the timepicker is able to display 24-hour-like times when |
I apologize if its unclear. What I'm saying is that even when I set showMeridian to true the time continues to display in 24-hour format rather than 12 hour format with the meridian. The code above that I submitted fixes the problem. |
It sounds like you might be using old code, since what you're saying means that 12-hour time would have to be completely broken. But, based on my own experience, 12-hour time works fine. I just released a new version supporting bootstrap 3. You might want to see if that fixes the issues you saw. |
I will check the new release and remember I sent in that bug well over a year ago so its very possible that bug was in old code. |
Thanks for taking the time. Hopefully, you'll find the new code is more useful and correct, but don't hesitate to gripe if something's still broken. |
Hahah. Thanks will do and thank you for the great work you guys have done on this library. |
I have found that the time picker is not handling 24 hour time correctly when using the meridian:
When the time is greater than 11 you will notice that the meridian is ALWAYS AM when it should be PM.
So I ended up having to edit the SetTime method to the following:
Would love to get this fix rolled into a future release.
Thanks.
The text was updated successfully, but these errors were encountered: