commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pär Nils Amsen (JIRA) <j...@apache.org>
Subject [jira] [Created] (LANG-1328) FastDateFormat does not support 'EEE' and 'MMM' abbreviations for PT_pt
Date Thu, 04 May 2017 10:42:04 GMT
Pär Nils Amsen created LANG-1328:
------------------------------------

             Summary: FastDateFormat does not support 'EEE' and 'MMM' abbreviations for PT_pt
                 Key: LANG-1328
                 URL: https://issues.apache.org/jira/browse/LANG-1328
             Project: Commons Lang
          Issue Type: Bug
    Affects Versions: 3.3.2
         Environment: Android
            Reporter: Pär Nils Amsen


For the following statement:
 `FastDateFormat.getInstance("MMM", timeZone, new Locale("pt", "pt")).format(1494115200);`

The outcome will be "dormingo" instead of "dor" in Portugese (pt_PT). I expect this to be
a bug since the only reason for FastDateFormat to not abbreviate the weekdays would be that
Portugese does not allow it, not very likely.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message