diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 01:39:08 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 01:39:08 +0200 |
commit | 327b322b9583f760cd02ddad7a2a8890df26cc8b (patch) | |
tree | d0a73d5df0011233f3eaa5d9a54d1317fad50bbc /static/event-creator.ts | |
parent | Minor cleanup in recurrence generate. (diff) | |
download | calp-327b322b9583f760cd02ddad7a2a8890df26cc8b.tar.gz calp-327b322b9583f760cd02ddad7a2a8890df26cc8b.tar.xz |
workuid-stuff-2
Diffstat (limited to 'static/event-creator.ts')
-rw-r--r-- | static/event-creator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/event-creator.ts b/static/event-creator.ts index 0f2c42b4..6ce04d78 100644 --- a/static/event-creator.ts +++ b/static/event-creator.ts @@ -69,7 +69,7 @@ class EventCreator { that.ev.calendar = window.default_calendar; // let ev_block = document.createElement('vevent-block') as ComponentBlock; - let ev_block = new ComponentBlock(that.ev.getProperty('uid')); + let ev_block = new ComponentBlock(that.ev.getProperty('uid'), that.ev.getProperty('dtstart')?.format('~Y-~m-~dT~H:~M:~S')); ev_block.classList.add('generated'); that.event = ev_block; that.ev.register(ev_block); |