[
https://issues.apache.org/jira/browse/SOLR-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108606#comment-13108606
]
Uwe Schindler commented on SOLR-2785:
-------------------------------------
DateField in Solr is using UTC timezone ("Z" notation).
> DateField timezone handling
> ---------------------------
>
> Key: SOLR-2785
> URL: https://issues.apache.org/jira/browse/SOLR-2785
> Project: Solr
> Issue Type: Bug
> Components: Schema and Analysis
> Affects Versions: 3.3
> Environment: Debian Gnu/Linux, OpenJDK Runtime Environment 14.0-b16
> Reporter: Howard Cox
> Labels: datetime, datetimes, schema
>
> The Solr DateField appears to only be partially ISO 8601 compliant.
> The DateMathParser requires Timezone modifications to be in the format
> "+nMINUTES", "+xHOURS", "+yDAYS" etc.
> [http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html]
> ISO 6801 states that timezone modifications should be in the format +00:01,
> +01:00
> [http://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC]
> It would be useful if Solr DateField could parse both (I presume there's a
> reason for +nMINUTE etc somewhere in Java.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]