See the following HTML:
here's the viewModel:
The resulting date picker shows the date as Dec 2013 in Firefox. IE and Chrome (didn't test Safari).
If you set the month to 12, it ignores the year value and jumps to Jan 2014.
Regards,
Jacques
<
input
id
=
"dateFor"
data-role
=
"datepicker"
data-format
=
"MMM yyyy"
data-bind
=
"value: dateFilter, events: { change: dateForChange }"
class
=
"bindable"
/>
var
viewModel = kendo.observable({ dateFilter:
new
Date(2013,11,1)});
//bind
kendo.bind($(
'.bindable'
), viewModel);
The resulting date picker shows the date as Dec 2013 in Firefox. IE and Chrome (didn't test Safari).
If you set the month to 12, it ignores the year value and jumps to Jan 2014.
Regards,
Jacques