lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@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
Date Sun, 23 Sep 2007 03:18:50 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529728
] 

Hoss Man commented on LUCENE-1005:
----------------------------------

a cursory glance at the code in o.a.l.gdata.utils.DateFormater indicates that two SimpleDateFormater
format strings are used ... they are both documented as "Date format as it is used in Http
Last modified header", the only difference being between little z and big Z for timezones.

while servers are generally suppose to be lenient in parsing, formating of dates is always
suppose to end in " GMT", so it seems that a maybe a setTimeZone cll on the formater when
constructed is in order?



> 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


Mime
View raw message