Date cleanup / refactoring

This commit is contained in:
Leo Vasanko committed 2025-08-23 21:26:22 -06:00
1 parent cb0ac1eaf0
commit e78ced2383
8 files changed
+244 -497

No files matched your search

+3 -3
View File
@@ -141,9 +141,9 @@ function resetAll() {
if (typeof calendarStore.$reset === 'function') {
calendarStore.$reset()
} else {
const now = new Date()
calendarStore.today = now.toISOString().slice(0, 10)
calendarStore.now = now.toISOString()
const now = new Date()
calendarStore.today = now.toISOString().slice(0, 10)
calendarStore.now = now.toISOString()
calendarStore.events = new Map()
calendarStore.weekend = [6, 0]
calendarStore.config.first_day = 1