Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetime doesnt handle Date Only Timestamps. #7

Open
DrJohannessen opened this issue Apr 6, 2024 · 1 comment
Open

datetime doesnt handle Date Only Timestamps. #7

DrJohannessen opened this issue Apr 6, 2024 · 1 comment

Comments

@DrJohannessen
Copy link

DrJohannessen commented Apr 6, 2024

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`

@sourcesimian
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants