[
https://issues.apache.org/jira/browse/LUCENE-8640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753749#comment-16753749
]
Mikhail Khludnev edited comment on LUCENE-8640 at 1/28/19 7:27 AM:
-------------------------------------------------------------------
-oh, yeah.. it doesn't get well with dinosaurs era {{Improperly formatted
datetime: -187183959-07-06T11:00:57.156}}-
nope. turns out. the code hits false negative on 00 minutes. Let's remind the
trivia. We might have hours from 0 to 24 inclusively, but minutes and seconds
are just 0..59. Right?
Pushing fix with this assumption.
was (Author: mkhludnev):
oh, yeah.. it doesn't get well with dinosaurs era {{Improperly formatted
datetime: -187183959-07-06T11:00:57.156}}
> validate delimiters when parsing date ranges
> --------------------------------------------
>
> Key: LUCENE-8640
> URL: https://issues.apache.org/jira/browse/LUCENE-8640
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/spatial
> Reporter: Mikhail Khludnev
> Assignee: Mikhail Khludnev
> Priority: Major
> Attachments: LUCENE-8640.patch, LUCENE-8640.patch, LUCENE-8640.patch,
> LUCENE-8640.patch, mypatch.patch
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> {{DateRangePrefixTree.parseCalendar()}} should validate delimiters to rejects
> dates like {{2000-11T13}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]