Single day all day appointments in .ics files

后端 未结 8 2042
一向
一向 2021-01-01 09:44

I\'m creating an ics file using ASP.NET for importing holiday into Outlook 2007 and trying to set the all-day-event flag. This works fine on multi-day holidays, but for sing

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-01 10:02

    Not sure about MSDN, but according to the latest ical spec, a single day all day event starts on 1 day and ends on the next (not midnight which sounds like end of day, but is assumed to be 00:00, ie start of day, similar I suppose)

    In the latest spec RFC 5545, if one has no end date or end = start, then it is kinda a anniversary - not a one day all day event.

    If your ics files are to be used elsewhere or propogated further, then it is worth trying to get this right.

    A note on this here: http://icalevents.com/1778-all-day-events-adding-a-day-or-not/

提交回复
热议问题