diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2019-12-08 17:26:52 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2020-04-28 07:32:44 -0400 |
commit | dc161b3b67c6290b52d0ec33e690ada53faada43 (patch) | |
tree | d5aa3bc4579a2bd9926408484098a833c4d704a0 /test/data/apts-event-004 | |
parent | eda28d3fef5a2a841fa41c620fc976ce11d824b1 (diff) | |
download | calcurse-dc161b3b67c6290b52d0ec33e690ada53faada43.tar.gz calcurse-dc161b3b67c6290b52d0ec33e690ada53faada43.zip |
User interface for recurrence rules
The function update_rept() is extended with editing of the three
recurrence rule lists for BYMONTH, BYMONTHDAY and BYDAY.
The integers of the bymonth and bymonthday lists are edited directly as
integers, while those of the bywday list are mapped to localized weekday
names (as they appear in the calendar panel) with an optional integer
prefix (in RFC5545 style: 1MO, -2SA).
The RFC5545 (icalendar) requirement that the start day must be the first
occurrence and must match the recurrence rule, is met by testing that an
occurrence indeed appears on the start day, in these circumstances:
- when a recurrent item is loaded from file
- when the recurrence rule of an item is edited interactively
- when a recurrent appointment gets a new start time
- when a recurrent appointment is moved
Copy and paste of a recurrent item will only retain the basic recurrence
properties of type, frequency, until and exception days.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test/data/apts-event-004')
0 files changed, 0 insertions, 0 deletions