format dates to timezone

This commit is contained in:
Julian Krauser 2024-11-07 10:49:50 +01:00
parent 747adf7c69
commit 4148b3191e
5 changed files with 61 additions and 23 deletions

View file

@ -39,7 +39,7 @@ export const useCalendarStore = defineStore("calendar", {
this.loading = "failed";
});
},
fetchCalendarById(id: number): Promise<AxiosResponse<any, any>> {
fetchCalendarById(id: string): Promise<AxiosResponse<any, any>> {
return http.get(`/admin/calendar/item/${id}`);
},
async createCalendar(calendar: CreateCalendarViewModel): Promise<AxiosResponse<any, any>> {