Skip to content

Commit d0bd08f

Browse files
[autofix.ci] apply automated fixes
1 parent 286d648 commit d0bd08f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

app/components/Landing/IntroHeader.vue

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ onPrehydrate(el => {
6161
year: 'numeric',
6262
}).format(new Date())
6363
64-
const noodleDate = noodle.date && new Intl.DateTimeFormat('en-US', {
65-
timeZone: noodle.timezone === 'auto' ? undefined : noodle.timezone,
66-
month: '2-digit',
67-
day: '2-digit',
68-
year: 'numeric',
69-
}).format(new Date(noodle.date))
64+
const noodleDate =
65+
noodle.date &&
66+
new Intl.DateTimeFormat('en-US', {
67+
timeZone: noodle.timezone === 'auto' ? undefined : noodle.timezone,
68+
month: '2-digit',
69+
day: '2-digit',
70+
year: 'numeric',
71+
}).format(new Date(noodle.date))
7072
return todayDate === noodleDate
7173
})
7274

0 commit comments

Comments
 (0)