Skip to content

grammar: Prevent 'isoDateTime' rule from being too greedy

When giving a date (with no time), it captures trailing whitespaces, so the date in queries like 'last_visit >= 2020-01-01 and ...' is parsed as '2020-01-01 ', which makes ES error.

Resolves #3941 (closed).


Migrated from D7185 (view on Phabricator)

Merge request reports