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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Tim Allison (Jira)

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

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

A question on the solr-user mailing list from Matthias Agethle also points out a problem with negative years -- this also seems to be because of the GregorianCalendar usage in those two classes when formatting dates (they aren't checking GregorianCalendar.ERA)

before resolving this issue, whatever fix is put in place should make sure that tests for negative years is included and if that problem is unrelated, a new bug should be filed.

> 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: [hidden email]
For additional commands, e-mail: [hidden email]