You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.
If you dateformat is 'yyyy' or others which is only numbers , the number data will cause datetimepicker throw a exception.
Before parse date data, you should judge its number type or not. If it is number type, you should convert it to String type.
Maybe like this. if(typeof date == 'number'){ date = String(date); }
I insert that code in bootstrap-datetimepicker.js file after parse the data.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you dateformat is 'yyyy' or others which is only numbers , the number data will cause datetimepicker throw a exception.
Before parse date data, you should judge its number type or not. If it is number type, you should convert it to String type.
Maybe like this.
if(typeof date == 'number'){ date = String(date); }
I insert that code in bootstrap-datetimepicker.js file after parse the data.
The text was updated successfully, but these errors were encountered: