cinaq / reminders2calendar

Apple shortcuts that synchronizes Apple Reminders to Apple Calendar
Other
39 stars 2 forks source link

Why do the same reminders keep getting added to the calendar over and over again every time I open it? #5

Closed BingBing160809 closed 1 year ago

BingBing160809 commented 1 year ago
  1. Why do the same reminders keep getting added to the calendar over and over again every time you open it?
  2. The reminder I put in personal is showing up in school. 微信图片_20230726020236 微信图片_20230726020248
burnzy commented 1 year ago

I experienced this as well. The issue is that there is a bug in the two "Add" event actions in the Reminders2Calendar shortcut. Instead of using the "ListName" variable, it is using the first calendar it detects. The fix is to set the "Calendar" value to ListName. See screenshot:

Screen Shot 2023-09-07 at 12 21 03

Maybe @xiwenc can release a new patch version when he has time. It's a great shortcut by the way, thanks @xiwenc !

xiwenc commented 1 year ago

Hi,

This is already the case:

image

I will re-export my version just in case I forgot to update.

Please try the latest export and let me know if that works.

xiwenc commented 1 year ago

I have been using the build of https://github.com/cinaq/reminders2calendar/commit/28bfd8a406394c15127e198fd904d9d00608318c for a while and I don't see duplicates. Hope this solves your problem.

I will close this issue for now. Feel free to re-open if the issue still persists.

burnzy commented 1 year ago

Hi,

This is already the case:

image

I will re-export my version just in case I forgot to update.

Please try the latest export and let me know if that works.

Strange, just tried your latest release and that one still has the problem — where the Calendar item isn't set to ListName but to one of my calendars. Maybe a shortcuts bug then? Not sure

xiwenc commented 1 year ago

@burnzy sounds weird indeed. I've retested it over and over again. It works fine on my end. My advice is to remove the shortcut and reimport from github again. We have added a Loop helper shortcut now. See the updated README file.

xiwenc commented 1 year ago

I've found why the duplication sometimes happens. The query to look for next N days does not include "today" events. Therefore it would ignore existing events due "today" and hence creates new event. These result in duplicates.

It's fixed already. Ran into this same edge case in jira2calendar.