havok89 / Hoosk

Hoosk Codeigniter CMS
http://hoosk.org
Other
128 stars 87 forks source link

jQuery datepicker may initially display wrong year when creating new post. #25

Closed sashiba042 closed 7 years ago

sashiba042 commented 7 years ago

Hi, I know it's a very tiny issue. Current code: jQuery('#datetimepicker').datetimepicker({ format:'m/d/Y H:m:s' });. According to API, I think it should be: jQuery('#datetimepicker').datetimepicker({ dateFormat:'m/d/Y H:m:s' });.

Thx again for your amazing framework.

sashiba042 commented 7 years ago

Sorry, I didn't notice that you used datetimepicker instead of datepicker, your option name format is correct. But I still got the displaying bug.