set-in-obsidian-plugin
set-in-obsidian-plugin copied to clipboard
[BUG?] Recurring events not supporting time and duration arguments
Hey (again),
is this expected behavior or an already known issue?
Problem
When specifying recurring events with rrule-syntax, any time or duration arguments are ignored.
Example
Using
- `2023-01-16T14:30 PT2H every week on Monday` test Event
and a query like
set-in-obsidian-minimal
{
"defaultView": "listDay",
"fullcalendar": {
"initialDate": "2023-01-16",
"listDayFormat": false,
"eventOrderStrict": true
},
"showGlobalEvents": "true",
"files": ["_events"]
}
results in

Possible issue
Could it be that the field dtstartfrom FullCalender is not fully implemented yet? This field supports event time as per their documentation.
Solution
Please support the T and the PT arguments in recurring events.
Duration in recurring events is not supported at the moment, i guess i missed that 😅
Ill see if i can add it but im busy at the moment
EDIT: also it seems it seems to ignore starting time of recurring events, ill have to fix that as well..
I've made a discussion https://github.com/sandorex/set-in-obsidian-plugin/discussions/7 if you have any ideas for new format, im all ears
As I know absolutely no TS, is it enough to look at the function parseListItem(raw: string) to help you and make suggestions? Or any other places to look after?
All available formats are in the example in README so there is no need to look that mess of code 😅