While this is an improvement over the previous version which had a magic string value, the default value should probably be loaded from a DateField.properties file, as format patterns are local specific.

Malcolm Edgar
added a comment - 18/Jan/10 12:17 While this is an improvement over the previous version which had a magic string value, the default value should probably be loaded from a DateField.properties file, as format patterns are local specific.
regards Malcolm Edgar

Andrew Fink
added a comment - 18/Jan/10 13:03 Standard Java has similar feature:
http://java.sun.com/javase/7/docs/api/java/text/DateFormat.html
http://java.sun.com/docs/books/tutorial/i18n/format/dateFormat.html
but I can't find how to extract String pattern from DateFormat object,
but my research wasn't long!
Just don't forget: date format is a matrix:
one axis: language/country
other: format SHORT-to-FULL and date, time or date&time