我发现我的数据库中重复发生的事件实例重复,因为 google 事件 ID 已更改,并且我无法重现该更改。
googleEventId 从 RecurringEventID_DateofInstance 更改为 NewRecurringEventID_DateOfInstance。(即 5uhhll3sgl64h7hl93f5j0exsf_20181217T184500Z 到 5uhhll3sgl64h7hl93f5j0exsf_R20180709T174500_20181217T184500Z
NewRecurringEventID = PreviousRecurringEventID_R+DateRecurringEventsEditedFollowingEvents(即 5uhhll3sgl64h7hl93f5j0exsf_R20180709T174500)。
一些背景:我正在使用 Google Events List api 并具有 ShowDeleted=true 和 SingleInstances=true
我读过以下文章,其中解释了为什么如果为已编辑的实例和所有后续事件实例更新事件名称(不是更改重复模式的内容)之类的内容,则 recurring_id 会发生变化。-当以 previous_event_id+_R+date 格式生成重复 ID 时
我尝试复制该问题,但是当我更改此事件和所有后续事件实例的事件名称时,recurring_id 按预期更改,但 google 事件 id 保持为原始 id。(这就是我希望谷歌日历事件 API 能够工作的方式)
我想知道什么会导致 google 事件 id 更新为新的 recurringID_DateOfInstance 而不是保留为 oldRecurringID_DateOfInstance?
谢谢您的帮助