fix prettier offense (#6830)

This commit is contained in:
Joffrey JAFFEUX 2018-12-28 23:47:16 +01:00 committed by GitHub
parent 72afefe211
commit 6578d56308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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) {