导入到Google日历的ICS feed在全天活动的标题中显示(凌晨12:00) [英] ICS feed imported to Google Calendar shows (12:00am) in title for all day events
问题描述
我已经创建了一个ICS文件,并将其导入了Google日历.它以应有的方式用纯色块显示全天"事件,但也将其添加到标题的开头(凌晨12:00).有什么方法可以不同地格式化我的供稿,以防止这种情况发生?这是代码:
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
谢谢!
推荐答案
我查看了从Google日历导出的另一个ICS供稿,该供稿正确显示了全天事件.他们的DTSTART和DTEND时间戳没有时间,只有日期如下:
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
这篇关于导入到Google日历的ICS feed在全天活动的标题中显示(凌晨12:00)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!