I had thought this would require a bunch of work, but it turns out that I did it already. For once my past self did something right!
Try this:
https://www.icloud.com/shortcuts/56b04b2432cc454b90d679c630118262
Users will obviously have to edit the shortcut to specify the calendars they use.
It accepts a date as input. This allows you to run it for today, tomorrow, yesterday, etc., as part of other shortcuts. If it isn’t given one, it asks the user to specify a date.
It searches for events from 3am on the current day to the next day. I can’t recall why I did 3am… I think it was because I sometimes ran these late at night and didn’t want whatever I was currently doing to run over into the generated agenda.
It ends with a generated agenda of the format:
- (Start Date)-(End Date): (Title) ((Duration))
- (Start Date)-(End Date): (Title) ((Duration))
- (Start Date)-(End Date): (Title) ((Duration))
where each line is an event in the calendar.
It has been pretty robust for me, though I’m open to hearing issues and trying to debug if people run into any.