uICAL icon indicating copy to clipboard operation
uICAL copied to clipboard

datetime doesnt handle Date Only Timestamps.

Open DrJohannessen opened this issue 1 year ago • 1 comments

the iCalendar (ICS) standard does support date strings that are only dates and are 8 characters long. This format is typically used for all-day events, where only the date is specified without any specific time or time zone information. The standard format for such date strings in the iCalendar specification is YYYYMMDD.

The Library just throws an error right now if you have a 8 character time. Like in this ICS Entry: `BEGIN:VEVENT

UID:b4jf0mrknTgUZ9Itom02NwFicVt0

DTSTAMP:20240402T201802Z

SUMMARY:Test ganztägig

DTSTART;VALUE=DATE:20240405

DTEND;VALUE=DATE:20240406

SEQUENCE:0

STATUS:CONFIRMED

END:VEVENT`

DrJohannessen avatar Apr 06 '24 20:04 DrJohannessen

@DrJohannessen a pul request with new and passing tests is welcome

sourcesimian avatar May 22 '24 15:05 sourcesimian

This is a duplicate of #1

tavva avatar Jan 14 '25 12:01 tavva