Skip to content

Conversation

@pgomulka
Copy link
Contributor

@pgomulka pgomulka commented Jun 11, 2019

roundUp parsers were losing the composite pattern information when new
JavaDateFormatter was created from methods withLocale or withZone.

The roundUp parser should be preserved when calling these methods. This is the same approach in withLocale/Zone methods as in https://github.com/elastic/elasticsearch/blob/daa2ec8a605d385a65b9ab3e89d016b3fd0dffe2/server/src/main/java/org/elasticsearch/common/time/JavaDateFormatter.java

closes #42835

roundUp parsers was loosing the composite information when created
JavaDateFormatter was created with withlocale or withZone.
@pgomulka pgomulka added WIP :Core/Infra/Core Core issues without another label labels Jun 11, 2019
@pgomulka pgomulka self-assigned this Jun 11, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@pgomulka pgomulka added v7.2.0 and removed 7x WIP labels Jun 11, 2019
@pgomulka pgomulka changed the title WIP Fix roundUp parsing with composite patterns Fix roundUp parsing with composite patterns Jun 11, 2019
@pgomulka pgomulka added v7.2.0 and removed v7.2.0 labels Jun 11, 2019
@pgomulka pgomulka requested review from rjernst and spinscale June 12, 2019 10:43
@pgomulka pgomulka removed the request for review from rjernst June 12, 2019 11:07
@pgomulka pgomulka merged commit 6eb2945 into elastic:master Jun 13, 2019
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Jun 13, 2019
roundUp parsers were losing the composite pattern information when new
JavaDateFormatter was created from methods withLocale or withZone.

The roundUp parser should be preserved when calling these methods. This is the same approach in withLocale/Zone methods as in https://github.com/elastic/elasticsearch/blob/daa2ec8a605d385a65b9ab3e89d016b3fd0dffe2/server/src/main/java/org/elasticsearch/common/time/JavaDateFormatter.java

closes elastic#42835
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Jun 13, 2019
roundUp parsers were losing the composite pattern information when new
JavaDateFormatter was created from methods withLocale or withZone.

The roundUp parser should be preserved when calling these methods. This is the same approach in withLocale/Zone methods as in https://github.com/elastic/elasticsearch/blob/daa2ec8a605d385a65b9ab3e89d016b3fd0dffe2/server/src/main/java/org/elasticsearch/common/time/JavaDateFormatter.java

closes elastic#42835
pgomulka added a commit that referenced this pull request Jun 14, 2019
roundUp parsers were losing the composite pattern information when new
JavaDateFormatter was created from methods withLocale or withZone.

The roundUp parser should be preserved when calling these methods. This is the same approach in withLocale/Zone methods as in https://github.com/elastic/elasticsearch/blob/daa2ec8a605d385a65b9ab3e89d016b3fd0dffe2/server/src/main/java/org/elasticsearch/common/time/JavaDateFormatter.java

closes #42835
pgomulka added a commit that referenced this pull request Jun 14, 2019
roundUp parsers were losing the composite pattern information when new
JavaDateFormatter was created from methods withLocale or withZone.

The roundUp parser should be preserved when calling these methods. This is the same approach in withLocale/Zone methods as in https://github.com/elastic/elasticsearch/blob/daa2ec8a605d385a65b9ab3e89d016b3fd0dffe2/server/src/main/java/org/elasticsearch/common/time/JavaDateFormatter.java

closes #42835
@colings86 colings86 added the >bug label Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken range queries on "date||epoch_millis" fields in 7.1

5 participants