Details
-
Wish
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
4.0
-
None
-
Tapestry 4.0-beta5
Locale:zh_CN
Description
My Page:
<binding name="translator" value="translator:date,pattern=yyyyMMdd"/>
My locale is zh_CN.
give me wrong message about pattern is "AAAANNJJ".
I can't understand AAAANNJJ.I think we understand yyyyMMdd
In DateTranlator.java ,I find that method:
protected Object[] getMessageParameters(Locale locale, String label)
{
String pattern = getDateFormat(locale).toLocalizedPattern().toUpperCase(locale);
return new Object[]
;
}
I wish change it as:
String pattern = getDateFormat(locale).toPattern();
Attachments
Issue Links
- duplicates
-
TAPESTRY-334 DatePicker's title is not localized and attributes not defined as reserved.
- Resolved