We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My setup is: datepicker = new Datepicker(elem, { buttonClass: 'btn', format: 'yyyymm', todayButton: true, todayHighlight: true, startView: 1, pickLevel: 1, clearButton: true, autohide: true, datesDisabled: true, });
When I chose date, date picker is adding '01' to choose value. For example: I've chose 202205, and input box i showing 20220501.
The same behaviour is on the live demo.
The text was updated successfully, but these errors were encountered:
Please read the first one in the notes in here: https://mymth.github.io/vanillajs-datepicker/#/date-string+format?id=date-format
You need to create a custom parser/formatter to handle separator-less date string.
Sorry, something went wrong.
No branches or pull requests
My setup is:
datepicker = new Datepicker(elem, {
buttonClass: 'btn',
format: 'yyyymm',
todayButton: true,
todayHighlight: true,
startView: 1,
pickLevel: 1,
clearButton: true,
autohide: true,
datesDisabled: true,
});
When I chose date, date picker is adding '01' to choose value. For example: I've chose 202205, and input box i showing 20220501.
The same behaviour is on the live demo.
The text was updated successfully, but these errors were encountered: