is the HTML5 standard for inputing dates. It works in many browsers: Chrome, Opera, almost every mobile browsers - where it is fundamental - and the coverage can only grow.
- w3 has chosen the RFC3339 with date only as value format
while transparently handling the display format according to the Locale.
This means that, for example, americans see
, italians see
, but both of them send
to the server. Without the time part.
- Struts Date Converter already works for:
with a final fallback to
if nothing worked (in case of Time and Timestamps too).
My idea is:
can we add the support for date-only RFC3339, that is the one sent by the browser, in addition to the ones already there ? No existing code would break, and we'd have a standard, automatic conversion for a popular, growing standard.
I can't see any cons. Can you ?