Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 RFC5545 中指定的 RRULE 使事件每天发生多次?
假设我希望每隔一周的周一和周五上午 11 点和晚上 18 点举行一次活动。是否可以像下面这样格式化 RRULE:
RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,FR;[TIMES=110000,180000]
谢谢
您必须使用 byhour BYHOUR 规则部分指定以逗号分隔的一天中的小时列表。有效值为 0 到 23。
所以那将是:
RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,FR;BYHOUR=11,18