set-in-obsidian-plugin icon indicating copy to clipboard operation
set-in-obsidian-plugin copied to clipboard

date/time format

Open pcause opened this issue 2 years ago • 2 comments

This looks like an awesome/promising plugin. I'd like to suggest a second format to support, a slight mod to the taks plugin format. Allow:

  • [ ] 09:00-10:00 time first 🔁 monthly 🛫 2023-01-02 📅 2023-01-05

you take the time span from the item if it exists at the start of the line. start and end are used for the start and end dates. If just a due date then occurs once on the date. If start and end and time, recurs every day during the space at the time. If just a time and a start date, repeats forever after that start date until done. (done dates are added by tasks plugin so there is a record to go back. Just a time it isn't shown. the tasks recurs is ignored as it will create a new item when completed so you don't have to calculate.

This makes it easy for folks who use tasks, one of the top 10 plugins to co-exist/migrate.

pcause avatar Jan 01 '23 16:01 pcause

This would take some effort to implement as all the parsing that is currently used in the plugin is just crude string manipulation and momentjs builtin RFC parsing

Unfortunately at the time i do not have enough free time to do this

sandorex avatar Jan 02 '23 17:01 sandorex

I've made a discussion for new format https://github.com/sandorex/set-in-obsidian-plugin/discussions/7, if you want to pitch your ideas feel free

sandorex avatar Jan 24 '23 10:01 sandorex