Skip to content

glDatePicker Picks wrong date #100

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions