[ http://mc4j.org/jira/browse/STS-437?page=comments#action_10881 ] Kai Grabfelder commented on STS-437: ------------------------------------
so your supposed fix is that the user can override the getDefaultLocalizedFormats() method if he wants to put formats to the beginning of the array? I guess the method name should change a little bit then. The user could achieve the same by overriding the getDateFormats() method. But I guess your intention is to have a pre- and a post style getFormat method that can be overridden? > Refactor DateTypeConverter so that extending/overwriting will be cleaner > ------------------------------------------------------------------------ > > Key: STS-437 > URL: http://mc4j.org/jira/browse/STS-437 > Project: Stripes > Issue Type: Improvement > Components: Formatting > Reporter: Jasper Fontaine > Assigned To: Tim Fennell > Priority: Minor > Attachments: DateTypeConverter.java > > > The 3 default localized dateformats (SHORT, MEDIUM, LONG) are always tried > first when trying to convert a string to a date, with no way to overwrite > this behaviour in a clean way. > See attached file for a proposed fix -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
