在 iCalendar 文件 (.ics) 中设置管理器 属性

Setting the organizer property in an iCalendar file (.ics)

我们正在使用 php 库 ZContent/icalendar 为事件生成 ics 文件,到目前为止,它可以正常工作。

然而,当使用带有 Google 日历的文件时,事件显示如下:

如何设置"Unknown Organizer*"的值? (魁)(谁)

当查看 at the specifications 时,有一个 ORGANIZER 属性,但它似乎与事件无关,而是与 VTODOVJOURNAL 对象相关联.

或者它需要一封电子邮件吗?不仅仅是名字?

VEVENT 的实际规格在 https://www.rfc-editor.org/rfc/rfc5545#section-3.6.1 and it certainly does include the organiser property which itself has a mailto: uri as value and usually also has a CN parameter. See https://www.rfc-editor.org/rfc/rfc5545#section-3.8.4.3

其中给出了一个基本示例:

ORGANIZER;CN=John Smith:mailto:jsmith@example.com