#3-calendar #11

Merged
jkeffects merged 7 commits from #3-calendar into main 2024-11-07 10:10:01 +00:00
Showing only changes of commit 1d9919d520 - Show all commits

View file

@ -1,5 +1,4 @@
import { Request, Response } from "express";
import CalendarFactory from "../factory/admin/calendar";
import CalendarService from "../service/calendarService";
import CalendarTypeService from "../service/calendarTypeService";
import { calendar } from "../entity/calendar";
@ -23,10 +22,6 @@ export async function getCalendarItemsByTypes(req: Request, res: Response): Prom
items = await CalendarService.getByTypeNSCDR();
}
moment()
.format("YYYY-M-D-H-m")
.split("-")
.map((a) => parseInt(a));
let events = createEvents(
items.map((i) => ({
calName: process.env.CLUB_NAME,