Changed DayJS Namespace
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user