Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
viewer-wicket-1.1.0
-
None
Description
This JIRA is to bring a bit of consistency to the implementation.
One particular improvement is that joda LocalDate is no longer converted to a java.util.Date internally (which might lead to timezone issues).
Another improvement is to use the same dateformat when rendered in compact form (as in tables) as in the regular form (as in property form).
A final improvement is to make the datepicker honour the specified datePattern/dateTimePatterns. This is a stepping stone to making this configurable externally (either application-level, or per-user).
There are still some issues, even with this JIRA tackled. In particular, handling of date/time values doesn't work obviously for non-UTC timezones if specified with a truncated date. Not sure what the solution is here, other than to (perhaps) require that a time is always specified.