Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

glDatePicker Picks wrong date #100

Open
ghost opened this issue Oct 29, 2017 · 0 comments
Open

glDatePicker Picks wrong date #100

ghost opened this issue Oct 29, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 29, 2017

I load data from a MySQL data. This is the output

`$(window).load(function()
{
$('.your-date').glDatePicker({
showAlways: false,
allowMonthSelect: true,
allowYearSelect: true,

selectableDates: [
{ date: new Date(2017, 12, 10) },
]

    });
});`

It shows the date 2017, 12, 10 (12 dec 2017), but when I open the calendar. I get this (jan 10 2018)
For some reason

qk5kx 1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants