Hello.
I'm using the Datepicker, but it will not work when the Date has a Kind of type Local.
It renders as :
Instead of the proper way which works that is :
I'm using the Kendo UI MVC Wrapper, and I'm getting this weird behaviour when posting the date to the controller from javascript with:
I'm using the Datepicker, but it will not work when the Date has a Kind of type Local.
It renders as :
<
input
data-val
=
"true"
data-val-date
=
"The field FechaInicio must be a date."
data-val-required
=
"El campo FechaInicio es obligatorio."
id
=
"FechaInicio"
name
=
"FechaInicio"
type
=
"date"
value
=
"2013-07-20T15:00:00.000Z"
/>
Instead of the proper way which works that is :
<
input
data-val
=
"true"
data-val-date
=
"The field FechaInicio must be a date."
data-val-required
=
"El campo FechaInicio es obligatorio."
id
=
"FechaInicio"
name
=
"FechaInicio"
type
=
"date"
value
=
"15/07/2013"
/>
date.toISOString()