forked from GitHubMirrors/silverbullet-icalendar
fix(icalendar): Add workweekstart to RRULE key map
This commit is contained in:
@@ -26,6 +26,7 @@ const RRULE_KEY_MAP: Record<string, string> = {
|
|||||||
"bymonth": "BYMONTH",
|
"bymonth": "BYMONTH",
|
||||||
"bysetpos": "BYSETPOS",
|
"bysetpos": "BYSETPOS",
|
||||||
"wkst": "WKST",
|
"wkst": "WKST",
|
||||||
|
"workweekstart": "WKST",
|
||||||
"freq": "FREQ", // Just in case
|
"freq": "FREQ", // Just in case
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
11
test_data/outlook_repro.ics
Normal file
11
test_data/outlook_repro.ics
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
BEGIN:VCALENDAR
|
||||||
|
VERSION:2.0
|
||||||
|
PRODID:-//Repro//EN
|
||||||
|
BEGIN:VEVENT
|
||||||
|
UID:repro-workweekstart
|
||||||
|
SUMMARY:Repro WorkWeekStart
|
||||||
|
DTSTART:20260219T100000Z
|
||||||
|
DTEND:20260219T110000Z
|
||||||
|
RRULE:FREQ=WEEKLY;BYDAY=MO;WKST=MO
|
||||||
|
END:VEVENT
|
||||||
|
END:VCALENDAR
|
||||||
Reference in New Issue
Block a user