Skip to content
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

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

Closed
sashiba042 opened this issue Feb 28, 2017 · 1 comment

Comments

@sashiba042
Copy link

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
Copy link
Author

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.

@havok89 havok89 closed this as completed Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants