Open
Conversation
EKReminder exposes creationDate (inherited from EKCalendarItem). This change includes it in ReminderItem model and all JSON output.
chrisae9
added a commit
to chrisae9/remindctl
that referenced
this pull request
Feb 28, 2026
…stness Fixes issues steipete#23, steipete#6, steipete#31, steipete#32 (partial) and implements PR steipete#13 feature: - All-day reminders (issues steipete#23, steipete#6): Add ParsedDate type to DateParsing with isDateOnly flag. Date-only inputs (YYYY-MM-DD, today, tomorrow, etc.) now create true all-day reminders using only [year,month,day] DateComponents, omitting hour/minute so EventKit treats them as all-day. Timed inputs still include hour/minute. ReminderItem gains dueDateIsAllDay: Bool field. Display shows date without time for all-day reminders. - Multiple list names (issue steipete#31): `remindctl list A B C` now returns merged results from all named lists. `remindctl show --list A --list B` also merges results (repeatable --list flag). - edit --due fix (issue steipete#32): isDateOnly is now correctly threaded through ReminderUpdate so that editing a due date with a date-only string sets proper all-day components rather than midnight-timed ones. - creationDate in JSON output (PR steipete#13): ReminderItem now exposes creationDate from EKCalendarItem.creationDate in all output modes. - item(from:) helper: consolidate EKReminder → ReminderItem conversion to a single private method, used across createReminder, updateReminder, and completeReminders. - 9 new tests covering ParsedDate, all-day flags, multiple list fetch, and backward-compat for parseUserDate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The underlying EventKit API exposes
creationDateonEKCalendarItem(whichEKReminderinherits). This change includes it in theReminderItemmodel so it appears in JSON output.This is useful for automation that needs to know when a reminder was originally created (e.g., filtering 'recently created' items).
Changes
creationDate: Date?toReminderItemstructReminderItemconstructors to includecreationDateReminderData(theSendabletransfer struct) to include itTesting
creationDatefield