Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 15640 invoked from network); 25 Sep 2007 18:02:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2007 18:02:18 -0000 Received: (qmail 50922 invoked by uid 500); 25 Sep 2007 18:02:07 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 50864 invoked by uid 500); 25 Sep 2007 18:02:06 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 50852 invoked by uid 99); 25 Sep 2007 18:02:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 11:02:06 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 18:04:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A57EF7141F2 for ; Tue, 25 Sep 2007 11:01:52 -0700 (PDT) Message-ID: <17888741.1190743312673.JavaMail.jira@brutus> Date: Tue, 25 Sep 2007 11:01:52 -0700 (PDT) From: "Grant Ingersoll (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1005) GData TestDateFormater (sic) fails when the Date returned is: Sun, 23 Sep 2007 01:29:06 GMT+00:00 In-Reply-To: <90266.1190513090694.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530180 ] Grant Ingersoll commented on LUCENE-1005: ----------------------------------------- In reading http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html dates do not have to end in just GMT, they can be GMT +/- and offset of hours and minutes. It seems like GMT+00:00 should be valid, as the lowercase 'z' symbol gives: z Time zone General time zone Pacific Standard Time; PST; GMT-08:00 as an example. If I put in the Date above (which caused a failure) as a test on my machine it passes. I think the error is actually in the test in that the Pattern that is used to compare the output does not account for the GMT offset method for time zones. Thoughts? If not, I will put in a fix for the Regex to account for the GMT offset method. > GData TestDateFormater (sic) fails when the Date returned is: Sun, 23 Sep 2007 01:29:06 GMT+00:00 > ------------------------------------------------------------------------------------------------- > > Key: LUCENE-1005 > URL: https://issues.apache.org/jira/browse/LUCENE-1005 > Project: Lucene - Java > Issue Type: Bug > Components: Other > Reporter: Grant Ingersoll > > TestDateFormater.testFormatDate fails when the Date returned is Sun, 23 Sep 2007 01:29:06 GMT+00:00 > The issue lies with the +00:00 at the end of the string. > The question is, though, is that a valid date for GData? > This is marked as major b/c it is causing nightly builds to fail. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org