-
Notifications
You must be signed in to change notification settings - Fork 1k
startdt.getTime not a function for timeRange #872
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
Comments
Try the example as is in the documentation on the Examples tab, Time Ranges http://trentrichardson.com/examples/timepicker/ On Wed, Sep 14, 2016 at 2:58 PM, Angelo Riganis notifications@github.com
Thanks, Trent Richardson trentrichardson.com |
This also happened to me. The workaround is to check if startdt.getTime function exist at checkDates function in jquery-ui-timepicker-addon.js.
|
I have the same issue. The workaround removes the error but also the functionality, so that is not a solution for me. My code is virtually identical to that of the example page.
I am running this on Bootstrap - would that make a difference? Any ideas on how to fix this? Thanks! |
I figured it out - sorry, this was my fault. I thought "first()" would return just the first occurrence of the item in question, but apparently it returns much more that causes issues here. As soon as I changed the startBox/endBox declaration to use ids instead of classes, it worked (using the workaround mentioned earlier). |
I followed all steps written in docs but still date time range is not working. I am getting the same error in my console. |
Just downloaded latest JS (11/2015), plopped in exactly the example code as given:
Upon page load, getting this error:
Uncaught TypeError: startdt.getTime is not a function
Has this happened to anyone else?
The text was updated successfully, but these errors were encountered: