jQuery datepicker may initially display wrong year when creating new post.
sashiba042 opened this issue · comments
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.
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.