Changed DayJS Namespace

This commit is contained in:
2024-01-05 18:24:58 +01:00
parent 8822854040
commit d62fc5d668
11 changed files with 35 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
import {defineStore} from 'pinia'
import * as dayJS from "dayjs"
import dayjs from "dayjs"
//const supabase = createClient('https://uwppvcxflrcsibuzsbil.supabase.co','eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV3cHB2Y3hmbHJjc2lidXpzYmlsIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDA5MzgxOTQsImV4cCI6MjAxNjUxNDE5NH0.CkxYSQH0uLfwx9GVUlO6AYMU2FMLAxGMrwEKvyPv7Oo')
@@ -337,8 +337,8 @@ export const useDataStore = defineStore('data', () => {
resourceId: absence.user,
resourceType: "person",
title: absence.reason,
start: dayJS(absence.start).toDate(),
end: dayJS(absence.end).add(1,'day').toDate(),
start: dayjs(absence.start).toDate(),
end: dayjs(absence.end).add(1,'day').toDate(),
allDay: true
}
})