-
Notifications
You must be signed in to change notification settings - Fork 172
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
JOINDIN-697: Time picker throws warnings for single-digit times in Chrome #688
Comments
Comment created by cal-tec: This issue is actually with the bootstrap-timepicker.js component https://github.com/jdewit/bootstrap-timepicker There appears to be a PR open for it but it has not been merged jdewit/bootstrap-timepicker#203. I hav hacked the code to implement the fix proposed by the open PR and it does fix the issue. I see there are three options
Any preferences or other thoughts on how to proceed????? |
Comment created by liam-wiltshire: Not sure on anyone else's preference, but I don't really want to remove the component, as apart from the bug it does work well. As such, personally, I'd: a) Fix the component for now That way, we get the best of both worlds :-) |
Comment created by cal-tec: Ok, I have fixed the component and submitted a PR Not sure quite what you mean regards to b)... Do you mean crate a new jira issue to re-pull the bootstrap-timepicker.js component once the PR on that component has been merged / the component has been fixed?? |
Comment created by liam-wiltshire: Thanks, will merge that today. Yes exactly, open a JIRA issue with a link know to the PR so we can look to update the component once the upstream is. |
Comment created by +railto: Never seen your comment Liam, have merged it already, I just can't close jira issues yet |
Comment created by +railto: Changes merged |
Issue was closed with resolution "Fixed" |
Jira issue originally created by user liam-wiltshire:
When you try to create a talk using Chrome, the time-picker doens't update the input field if the hour is single digit (e.g. 9:00, 8:30 etc).
The console throws the following warning:
""The specified value "9:15" does not conform to the required format. The format is "HH:mm", "HH:mm:ss" or "HH:mm:ss.SSS" where HH is 00-23, mm is 00-59, ss is 00-59, and SSS is 000-999.""
If the hour is a double digit hour (10, 11 etc), it works fine.
Works even with a single digit hour in Firefox
The text was updated successfully, but these errors were encountered: