This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
DefaultHtmlGenerator should attempt to properly format values for <input type="date">
and <input type="time">
#4102
Closed
Description
When binding a DateTime
model value to an <input type="date" />
element or an <input type="time">
element, one would expect the output to be a valid date string according to the HTML5 specification.
Likewise, when binding a DateTime
or TimeSpan
model value to an <input type="time" />
element, one would expect the output to be a valid time string according to the HTML5 specification.