-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
If you set the inputtime to 8:30 the control makes it 9:30 #86
Comments
+1 I am facing the same issue. |
I need to write this junky piece of code, to fix this in runtime. Even with the commit made by @KoiYu the problem continues to happen. Any news about that? |
@lucasdoamaral I don't understand your problem without more context. If your If you wish to use
|
Hi @KoiYu , What they are saying is correct. I am experiencing the same issue. With your code, if I open, the current time in midday (12.03pm). The input on 12 hour clock time will show as 00 : 03 pm. I think before that I did it at 11.55am and it showed as 12.55am. Very useful Directive. Thank you. Cameron |
+1 still the issue, please regenerate ionic-timepicker.bundle.min.js |
Had the same problem (toFixed was rounding the time). @KoiYu fix worked. Really wish I checked here first instead of spending 3 hours finding the bug myself. |
Hi, could you push the new version of this component to bower, including your fix of this issue ? Thanks |
Fixed in v0.6.0 |
This is because you use toFixed(0) to round the value for the hours.
You need to use Math.floor..
The text was updated successfully, but these errors were encountered: