andrewbrereton / obsidian-to-ical-plugin

This is a plugin for Obsidian that searches your vault for tasks that contain dates, and generates a calendar in iCal format that can be imported into your preferred calendar application.
MIT License
56 stars 10 forks source link

Support Day Planner plugin format #68

Closed andrewbrereton closed 6 months ago

andrewbrereton commented 6 months ago

Fixes #24.

Add support for Headings and Day Planner time format. If Day Planner plugin support is enabled, and when parsing Markdown tasks we come across a start time and an optional end time, then we process the TaskDate differently. We ignore the Tasks plugin format and instead just create a calendar event with the specified start time and end time. If no end time is found, then assume 30 minute event. Then, when generating the iCalendar file, we still need to adhere to the 'how to process mutliple dates' setting however the fallback is to use the start and end time if they exist.

I'm very tired and I'm sure I've broken things. Will need thorough testing.