Here is the scenario
A french environment with globalization set to "FR-fr"
I included the french kendo culture script and added the call to kendo.culture( 'FR-fr')
I have an input field that contains a datetime in a french format
I tried to transform this input field to a kendo datepicker but failed to have the correct date value
I tried so many combinations from
to
The new kendo datepicker correctly displayed but never picked up the correct date value : Friday, August 24, 2012
A french environment with globalization set to "FR-fr"
I included the french kendo culture script and added the call to kendo.culture( 'FR-fr')
I have an input field that contains a datetime in a french format
<
input
id
=
"EventDate"
type
=
"text"
value
=
"24/08/2012"
name
=
"EventDate"
>
I tried to transform this input field to a kendo datepicker but failed to have the correct date value
I tried so many combinations from
$("#EventDate").kendoDatePicker({
format: "D"
})
$("#EventDate").kendoDatePicker({
format: "D",
value:
new
Date($(
"#EventDateEnd"
).val())
});
The new kendo datepicker correctly displayed but never picked up the correct date value : Friday, August 24, 2012