migrate to Eleventy v3 and ESM, upgrade dependencies
Some checks failed
publish / publish (push) Failing after 4m13s

This commit is contained in:
Lyn Fugmann 2024-10-06 17:58:35 +02:00
parent 84e3af4205
commit f10dcd9df8
5 changed files with 988 additions and 1035 deletions

View file

@ -1,6 +1,6 @@
const { ICalCalendar, ICalCalendarMethod } = require('ical-generator')
import { ICalCalendar, ICalCalendarMethod } from 'ical-generator';
module.exports = class ProgramIcal {
export default class ProgramIcal {
getDate(date, time) {
const d = new Date(date);
const [ hours, mins ] = time.split(":");