Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reminder repeat data #84

Open
ap opened this issue Jun 10, 2024 · 6 comments
Open

Reminder repeat data #84

ap opened this issue Jun 10, 2024 · 6 comments

Comments

@ap
Copy link

ap commented Jun 10, 2024

Thanks for this tool. I’m very happy to have stumbled across it while looking for a way to back up post-Ventura Reminders.app data, which no longer has a built-in Export function (thanks, Apple). Thankfully reminders show-all -f json lets me get just about everything back out.

The one thing I’m missing is the data from the Repeat and End Repeat fields. I’d very much like to have that also, because I stay on top of various household chores and such using a fairly long list of repeating reminders, whose repetition info would be somewhat onerous to have to figure out from scratch. (Currently my only backup option seems to be to keep a screenshot of that list…)

@keith
Copy link
Owner

keith commented Jun 10, 2024

yea if you want to PR adding some fields for that to the json format that seems reasonable to me

@ap
Copy link
Author

ap commented Jun 19, 2024

I’m afraid I don’t know Swift or any of the relevant APIs so all I can do at the time of this writing is dump a request in your lap. 🙂 (The whole reason I’m now using your tool is so I don’t have to learn all of that!)

@mgiugliano
Copy link

@keith May I ask you where to find the documentation of the existing "fields"? I would love to add these features and starting from the very basics of Reminders.app would be precious to me.

@keith
Copy link
Owner

keith commented Jan 10, 2025

EKReminder is the primary class: https://developer.apple.com/documentation/eventkit/ekreminder#

and that inherits from EKCalendar item which has a lot more stuff https://developer.apple.com/documentation/eventkit/ekcalendaritem

@jdtsmith
Copy link

A agree this would be nice to have. I think each repeating EKReminder (via EKCalendar) has a recurrenceRule, which is of type EKRecurrence. That object type has quite a few fields specifying the recurrence.

@mgiugliano
Copy link

A agree this would be nice to have. I think each repeating EKReminder (via EKCalendar) has a recurrenceRule, which is of type EKRecurrence. That object type has quite a few fields specifying the recurrence.

See my fork. I considered (my own) need to providing a JSON string as an input and used there the recurring field. I am eager to see what @keith thinks about that and I am happy to polish it or improve it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants