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

Month returns 00 on output #655

Open
web-azal opened this issue Jan 20, 2025 · 0 comments
Open

Month returns 00 on output #655

web-azal opened this issue Jan 20, 2025 · 0 comments

Comments

@web-azal
Copy link

web-azal commented Jan 20, 2025

I set air-datepicker locally and when selecting a date on datepicker (for example 13 March 2025) it returns = 13-00-2025.
No matter what month you chosen, it returns 00 for every one.
Js and CSS was taken from github library and npm:

new AirDatepicker('#calendar', {
dateFormat: 'mm/dd/yyyy',
timeFormat: 'hh:ii aa',
firstDay: 1,
range: true,
multipleDatesSeparator: ' - ',
autoClose: true,
});

<script type="text/javascript" src="assets/js/air-datepicker.js"></script>

Image

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

1 participant