obsidian-repeat-plugin icon indicating copy to clipboard operation
obsidian-repeat-plugin copied to clipboard

Support multiple units in the `repeat` field

Open prncc opened this issue 1 year ago • 0 comments

Instead of just single unit fields like repeat: every 60 hours support multi unit fields like repeat: every 2 days and 12 hours.

A little tricky because values can get long and complicated (e.g., 2 months 3 years, 2 weeks 5 days, and 4 hours). To mitigate, units can be reduced to a limited set when writing the field out (years, days, hours), or we could allow non-integer values. The latter is a rabbit hole that adds complexity.

Initially, allow the user to specify repeat periods in this fashion. Later, also save the period in this format.

prncc avatar Feb 01 '24 02:02 prncc