From fc1c13d8a40ac8aa1919c25096e32f496f834f1c Mon Sep 17 00:00:00 2001 From: jaymode Date: Thu, 14 Apr 2016 13:32:04 -0400 Subject: [PATCH] Fix compile error due to change in DateFieldMapper Original commit: elastic/x-pack-elasticsearch@995dde2a36d893996c4a0d13b514994e14018a03 --- .../org/elasticsearch/watcher/support/WatcherDateTimeUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/watcher/support/WatcherDateTimeUtils.java b/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/watcher/support/WatcherDateTimeUtils.java index efcc04658df..5a6c27d09eb 100644 --- a/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/watcher/support/WatcherDateTimeUtils.java +++ b/elasticsearch/x-pack/watcher/src/main/java/org/elasticsearch/watcher/support/WatcherDateTimeUtils.java @@ -25,7 +25,7 @@ import java.util.concurrent.Callable; */ public class WatcherDateTimeUtils { - public static final FormatDateTimeFormatter dateTimeFormatter = DateFieldMapper.Defaults.DATE_TIME_FORMATTER; + public static final FormatDateTimeFormatter dateTimeFormatter = DateFieldMapper.DEFAULT_DATE_TIME_FORMATTER; public static final DateMathParser dateMathParser = new DateMathParser(dateTimeFormatter); private WatcherDateTimeUtils() {