[
https://issues.apache.org/jira/browse/VELTOOLS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Schultz resolved VELTOOLS-144.
------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.x
Fixed in r1149273.
Added DateTool.toLocalizedString(String pattern, Locale locale) method.
> DateTool can be improved to allow cross-localization of format strings
> ----------------------------------------------------------------------
>
> Key: VELTOOLS-144
> URL: https://issues.apache.org/jira/browse/VELTOOLS-144
> Project: Velocity Tools
> Issue Type: New Feature
> Components: GenericTools
> Affects Versions: 2.0
> Environment: All VELTOOLS versions
> Reporter: Christopher Schultz
> Priority: Minor
> Fix For: 2.0.x
>
>
> I thought I had reported this earlier, but evidently not.
> We use SimpleDateFormat patterns (which are always specified in English-style
> yyyy-MM-dd form) all over our application and we'd like to be able to display
> those patterns in a locale-sensitive way (for instance aaaa-MM-jj in the FR
> locale). DateTool is in a nice position to be able to do this conversion for
> us, since it wraps a SimpleDateFormat object.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]