Skip to content

Why is "DTSTART;VALUE=DATE" instead of DATE-TIME when IsAllDay = true? #679

Answered by axunonb
thehaseebahmed asked this question in Q&A
Discussion options

You must be logged in to vote

The DTSTART property in iCalendar specifies the start date and time for a calendar component, such as an event (VEVENT), a to-do (VTODO), or free/busy time (VFREEBUSY). By default, the value type for DTSTART is DATE-TIME, which includes both the date and the time.

When VALUE=DATE is specified, it means that the DTSTART property only includes the date, without any time component. This is used for all-day events or tasks that span an entire day. For example:

DTSTART;VALUE=DATE:20240101

This indicates that the event starts on January 1, 2024, and lasts the entire day¹(https://icalendar.org/iCalendar-RFC-5545/3-8-2-4-date-time-start.html)²(https://www.kanzaki.com/docs/ical/dtstart.html).

ica…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by axunonb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #678 on December 25, 2024 08:53.