Skip to content

Commit

Permalink
sch: relative time spec for events
Browse files Browse the repository at this point in the history
Reference calendar time of other schedules, user-created named events
or the sun{rise,set} (when enabled)

For example
- '15m before sunset'
- '30m after cal#0'
- '1h15m after "foobar"'

Empty time spec is allowed, defaults to '1m'
'before sunrise' is the same as '1m before sunrise'

Internals are reworked to handle a more generalized 'Event' type, based
on the 'time point' and 'event' base classes fron sunrise and sunset

Sunrise and sunset should also track 'last' event as well as 'next
(not currently displayed anywhere, though)
  • Loading branch information
mcspr committed Aug 22, 2024
1 parent a803356 commit 8edb7b6
Show file tree
Hide file tree
Showing 6 changed files with 2,223 additions and 289 deletions.
Loading

0 comments on commit 8edb7b6

Please sign in to comment.