Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C901011C19 for ; Fri, 11 Apr 2014 14:19:25 +0000 (UTC) Received: (qmail 21667 invoked by uid 500); 11 Apr 2014 14:19:17 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 21532 invoked by uid 500); 11 Apr 2014 14:19:16 -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 21515 invoked by uid 99); 11 Apr 2014 14:19:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 14:19:15 +0000 Date: Fri, 11 Apr 2014 14:19:15 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-996) FastDateFormat is case sensitive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966546#comment-13966546 ] Benedikt Ritter commented on LANG-996: -------------------------------------- I'd like to have this fixed in 3.4 > FastDateFormat is case sensitive > -------------------------------- > > Key: LANG-996 > URL: https://issues.apache.org/jira/browse/LANG-996 > Project: Commons Lang > Issue Type: Bug > Components: lang.time.* > Affects Versions: 3.3.2 > Reporter: David Rees > Fix For: Patch Needed, 3.4 > > > It seems that FastDateFormat is case sensitive. But it claims to be mostly compatible with SimpleDateFormat which is not. > For example, this throws a ParseException: > FastDateFormat.getInstance("dd-MMM-yyyy").parse("01-jan-2000"); > But these do not: > SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy"); > sdf.parse("01-jan-2000"); > DateUtils.parse("01-jan-2000", "dd-MMM-yyyy"); -- This message was sent by Atlassian JIRA (v6.2#6252)