I'm running my tests on elasticsearch and facing one problem about DateFormatter/Resolver. Basically when we start the
ES 'Node' for the tests, it has some Resolvers e.g: IndexNameExpressionResolver and inside it has a DateMathExpressionResolver.
When it starts, uses the default "date_math_expression_resolver.default_time_zone" setting to configure the Timezone, if not present, uses the default "UTC" value.
String defaultTimeZoneId = settings.get("date_math_expression_resolver.default_time_zone", "UTC");
When parsing the data(from ES query) it was parsing with 000Z for Europe/London(if I change my machine to london)
but its parsing with +01:00 for Europe/Lisbon (My current location). It uses JODA Formatters/Parsers and ISOChronology objects to parse the value.
Can be something related to DateMapper? UTC settings? Any idea?