Closed eouia closed 6 months ago
duration can support both date and date time
the spec says
DTEND does NOT say mandatory
node-iCal seems that cannot handle this kind(DTSTART and DURATION but not DTEND) Can it?
I put in code 3 years ago for this when I fixed missing DTEND . and I think there was a testcase for that
https://github.com/jens-maus/node-ical/pull/96
edit: testcsse did not cover not DTEND/but duration
@sdetweil So... Is it a kind of thing to fix? Or Did I miss something to use?
I will try to test later today.
this handler is broken.
I will submit a PR and testcases for date-time and full date
with and without duration
I submitted pr https://github.com/jens-maus/node-ical/pull/306
Sorry for revamping the old topic. This is related to #90
I understand that only DTSTART without DTEND should be regarded as a momentary event. But how about with date-time type DTSTART and DURATION without DTEND?
In actual practice, Synology CalDAV provides that kind of VEVENTS, so
node-ical
cannot parse it correctly.If DURATION has meaning only on
date
type DTSTART, Why does the spec haveH
,M
, andS
options?