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: (SOLR-1899) dates prior to 1000AD are not formatted properly in responses
Date Sat, 01 May 2010 01:28:54 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862960#action_12862960
] 

Hoss Man commented on SOLR-1899:
--------------------------------

I believe the problem is in both XMLWriter.writeDate and JSONWriter.writeDate ... those methods
seem to be cut/psate and should also be refactored.

in general they should probably just be reusing something from DateField.



> dates prior to 1000AD are not formatted properly in responses
> -------------------------------------------------------------
>
>                 Key: SOLR-1899
>                 URL: https://issues.apache.org/jira/browse/SOLR-1899
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.1.0, 1.2, 1.3, 1.4
>            Reporter: Hoss Man
>
> As noted on the mailing list, if a document is added to solr with a date field such as
"0001-01-01T00:00:00Z" then when that document is returned by a search the year will be improperly
formated as "1-01-01T00:00:00Z"

-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message