You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2010/05/01 03:28:54 UTC

[jira] Commented: (SOLR-1899) dates prior to 1000AD are not formatted properly in responses

    [ 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