Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 61F22200C79 for ; Thu, 4 May 2017 13:36:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6075E160B9F; Thu, 4 May 2017 11:36:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A9604160BB0 for ; Thu, 4 May 2017 13:36:08 +0200 (CEST) Received: (qmail 64518 invoked by uid 500); 4 May 2017 11:36:07 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 64507 invoked by uid 99); 4 May 2017 11:36:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2017 11:36:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7896B1883D6 for ; Thu, 4 May 2017 11:36:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id OwPX-k3v0PlN for ; Thu, 4 May 2017 11:36:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7A11D5FD04 for ; Thu, 4 May 2017 11:36:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 90985E092E for ; Thu, 4 May 2017 11:36:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 45E4C21DF5 for ; Thu, 4 May 2017 11:36:04 +0000 (UTC) Date: Thu, 4 May 2017 11:36:04 +0000 (UTC) From: =?utf-8?Q?P=C3=A4r_Nils_Amsen_=28JIRA=29?= To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-1328) FastDateFormat does not support 'EEE' and 'MMM' abbreviations for PT_pt MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 04 May 2017 11:36:09 -0000 [ https://issues.apache.org/jira/browse/LANG-1328?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15996= 594#comment-15996594 ]=20 P=C3=A4r Nils Amsen commented on LANG-1328: -------------------------------------- [~kinow] I'm able to reproduce it in a fresh project! Here's a simple repo = demonstrating the issue on [Github|https://github.com/paramsen/fastdateform= atissue] (Android). In [MainActivity#18|https://github.com/paramsen/fastdat= eformatissue/blob/master/app/src/main/java/com/paramsen/fastdateformatissue= /MainActivity.java#L18] the formatting happens, which produces "Dormido" in= stead of "Dor" on Android.=20 Could it be that the FastDateFormat uses some built in stuff from the Andro= id platform/shipped Java source to do the formatting? > 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=C3=A4r Nils Amsen > > For the following statement: > {code:java} > FastDateFormat.getInstance("MMM", timeZone, new Locale("pt", "pt")).forma= t(1494115200); > {code} > The outcome will be "dormingo" instead of "dor" in Portugese (pt_PT). I e= xpect this to be a bug since the only reason for FastDateFormat to not abbr= eviate the weekdays would be that Portugese does not allow it, not very lik= ely. -- This message was sent by Atlassian JIRA (v6.3.15#6346)