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

Can't possible onSelect: function(date) change dateformat #47

Open
y2kim opened this issue Aug 26, 2018 · 1 comment
Open

Can't possible onSelect: function(date) change dateformat #47

y2kim opened this issue Aug 26, 2018 · 1 comment

Comments

@y2kim
Copy link

y2kim commented Aug 26, 2018

dates:'yyyy-mm-dd', $("#pickdate").val($.datepick.formatDate(date));
like this command but showing error

Uncaught TypeError: date.getMonth is not a functio

like this

@kbwood
Copy link
Owner

kbwood commented Aug 27, 2018

I don't understand where this code fragment is in relation to anything else. Can you provide a page that shows the problem?

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