chore: reformat code with Prettier

This commit is contained in:
Julien Fontanet
2020-06-03 11:03:03 +02:00
parent 3524886d5d
commit f18e98a63e
95 changed files with 283 additions and 350 deletions
@@ -69,10 +69,7 @@ const STATUS_ICON = {
const DATE_FORMAT = 'dddd, MMMM Do YYYY, h:mm:ss a'
const createDateFormatter = timezone =>
timezone !== undefined
? timestamp =>
moment(timestamp)
.tz(timezone)
.format(DATE_FORMAT)
? timestamp => moment(timestamp).tz(timezone).format(DATE_FORMAT)
: timestamp => moment(timestamp).format(DATE_FORMAT)
const formatDuration = milliseconds => moment.duration(milliseconds).humanize()