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 DB52D17AAA for ; Mon, 27 Apr 2015 20:06:38 +0000 (UTC) Received: (qmail 77777 invoked by uid 500); 27 Apr 2015 20:06:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 77677 invoked by uid 500); 27 Apr 2015 20:06:38 -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 77659 invoked by uid 99); 27 Apr 2015 20:06:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 20:06:38 +0000 Date: Mon, 27 Apr 2015 20:06:38 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (LANG-1116) testLang530 fails for some timezones 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-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514868#comment-14514868 ] Benedikt Ritter edited comment on LANG-1116 at 4/27/15 8:06 PM: ---------------------------------------------------------------- Okay, this needs more time for investigation. I hope to find some time this week end. In the mean time, can you check out if your fix is working when applying it against HEAD (note that we have migrated to git, you can find the new repository location at http://commons.apache.org/proper/commons-lang/source-repository.html)? was (Author: britter): Okay, this needs more time for investigation. I hope to find some time this week end. > testLang530 fails for some timezones > ------------------------------------ > > Key: LANG-1116 > URL: https://issues.apache.org/jira/browse/LANG-1116 > Project: Commons Lang > Issue Type: Bug > Components: lang.time.* > Affects Versions: 3.4 > Environment: Redhat 5 / Java8u45 > Reporter: Aaron Sheldon > Fix For: Review Patch > > Attachments: lang-1116.patch > > > Unit test for testLang530 fails when the isoDateStr comes out with just a Z instead of +00:00. > Tests run: 38, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.014 sec <<< FAILURE! - in org.apache.commons.lang3.time.DateUtilsTest > testLang530(org.apache.commons.lang3.time.DateUtilsTest) Time elapsed: 0.005 sec <<< ERROR! > java.text.ParseException: Unable to parse the date: 2015-04-17T18:51:52Z > at org.apache.commons.lang3.time.DateUtils.parseDateWithLeniency(DateUtils.java:401) > at org.apache.commons.lang3.time.DateUtils.parseDate(DateUtils.java:301) > at org.apache.commons.lang3.time.DateUtils.parseDate(DateUtils.java:278) > at org.apache.commons.lang3.time.DateUtilsTest.testLang530(DateUtilsTest.java:1222) > On a Linux machine where this test passes, isoDateStr is 2015-04-17T19:26:03+00:00. -- This message was sent by Atlassian JIRA (v6.3.4#6332)