You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Naber (JIRA)" <ji...@apache.org> on 2008/01/29 21:48:36 UTC
[jira] Resolved: (LUCENE-1158) DateTools UTC/GMT mismatch
[ https://issues.apache.org/jira/browse/LUCENE-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Naber resolved LUCENE-1158.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Lucene Fields: [New, Patch Available] (was: [Patch Available, New])
Patch applied.
> DateTools UTC/GMT mismatch
> --------------------------
>
> Key: LUCENE-1158
> URL: https://issues.apache.org/jira/browse/LUCENE-1158
> Project: Lucene - Java
> Issue Type: Bug
> Components: Javadocs
> Affects Versions: 2.3
> Reporter: Daniel Naber
> Priority: Minor
> Fix For: 2.4
>
> Attachments: datetools.diff
>
>
> Post from Antony Bowesman on java-user:
> -----
> I just noticed that although the Javadocs for Lucene 2.2 state that the dates
> for DateTools use UTC as a timezone, they are actually using GMT.
> Should either the Javadocs be corrected or the code corrected to use UTC instead.
> -----
> I'm attaching a patch that changes the javadoc and will commit it, unless someone knows a reason the javadoc is correct and the code should be changed to UTC. To my understanding, there's no significant difference between UTC and GMT.
--
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