migrate to Eleventy v3 and ESM, upgrade dependencies
Some checks failed
publish / publish (push) Failing after 4m13s
Some checks failed
publish / publish (push) Failing after 4m13s
This commit is contained in:
parent
84e3af4205
commit
f10dcd9df8
5 changed files with 988 additions and 1035 deletions
|
@ -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(":");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue