lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Cox (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2785) Solr / Lucene
Date Tue, 20 Sep 2011 11:29:09 GMT

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

Howard Cox commented on SOLR-2785:
----------------------------------

When I get a free moment I'm going to look at the code and see how easy it would be to slot
in a check on DateTime formatting to include +01:01 timezone modifiers

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


Mime
View raw message