Skip to content

Commit d789128

Browse files
committed
Remove hardcoded date from Vue School banner
1 parent 3dd75c8 commit d789128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/vue/source/js/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
}
343343
]
344344

345-
const now = new Date('2022-10-05')
345+
const now = new Date()
346346
const phases = items.map(phase => ({ ...phase, remaining: new Date(phase.ends) - now }))
347347
const activePhase = phases.find(phase => phase.remaining > 0)
348348

0 commit comments

Comments
 (0)