ICS feed imported to Google Calendar shows (12:00am) in title for all day events

心已入冬 提交于 2019-12-11 16:29:31

问题


I have created an ICS file and imported it into Google Calendar. It shows "all day" events in solid color blocks like it should, but it also appended (12:00am) to the beginning of the title. Is there any way to format my feed differently to prevent this from happening? Here is the code:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Nasher Museum of Art//NONSGML Events //EN
X-WR-CALNAME:Nasher Museum of Art
X-ORIGINAL-URL:http://nasher.duke.edu
X-WR-CALDESC:Nasher Museum of Art
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTART:20130818T040000Z
DTEND:20130818T040000Z
SUMMARY: The title goes here
DESCRIPTION: Some description goes here
END:VEVENT
END:VCALENDAR

Thanks!


回答1:


I looked at another ICS feed that I exported from Google Calendar that showed all-day events correctly. Their DTSTART and DTEND timestamps had no times, just the dates as follows:

DTSTART;VALUE=DATE:20131229
DTEND;VALUE=DATE:20131230

While events with times had the following format:

DTSTART:20131221T150000Z
DTEND:20131221T050000Z


来源:https://stackoverflow.com/questions/16695417/ics-feed-imported-to-google-calendar-shows-1200am-in-title-for-all-day-events

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!