From 6578d563085e9ff68a76097547cc1c75781e2f5e Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 28 Dec 2018 23:47:16 +0100 Subject: [PATCH] fix prettier offense (#6830) --- .../assets/javascripts/discourse-local-dates.js.no-module.es6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6 b/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6 index f4877d9dd96..e7432f94111 100644 --- a/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6 +++ b/plugins/discourse-local-dates/assets/javascripts/discourse-local-dates.js.no-module.es6 @@ -128,7 +128,9 @@ const sameTimezone = _isEqualZones(displayedTimezone, moment.tz.guess()); const inCalendarRange = dateTime.isBetween( moment().subtract(2, "days"), - moment().add(1, "days").endOf("day") + moment() + .add(1, "days") + .endOf("day") ); if (options.calendar && inCalendarRange) {