The bindable value property of the DateInput returns a string instead of a Date. This means you lose the timezone information and forces a formatting which ignores your locale. It would be better if the returned object were a Date and then let the user convert to whatever they want.
The bindable
value
property of theDateInput
returns astring
instead of aDate
. This means you lose the timezone information and forces a formatting which ignores your locale. It would be better if the returned object were aDate
and then let the user convert to whatever they want.