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

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