summaryrefslogtreecommitdiffstats
path: root/test/data/apts-appointment-018
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-02-08 07:01:05 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2020-04-28 07:32:44 -0400
commit36f98382e708d64e41d97be330b7c012f68cf9b6 (patch)
treea5e03e527cd71557d9a5f890062042b4599eda2f /test/data/apts-appointment-018
parent852e36327112d804db62fdc5d2a34fd5eb21f88e (diff)
downloadcalcurse-36f98382e708d64e41d97be330b7c012f68cf9b6.tar.gz
calcurse-36f98382e708d64e41d97be330b7c012f68cf9b6.zip
Treat recurrent events and appointments alike
The day vector (or "day_items" vector) is used to load the appointments panel with "day_items" (captions, appointments, events). A multi-day appointment has several "day_items" in the day vector. This may also be the case for a recurring item. The day_item structure has a member "start", which for day_items for recurring appointments is set to the occurrence found by recur_item_find_occurrence(), and is used to tell days of a multi-day appointment apart. For day_items for recurring events it was set to "day" of the recur_event structure (the same value for all occurrences) and not used. The value is now the occurrence found by recur_event_find_occurrence(). The patch is backwards compatible and future-proof. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test/data/apts-appointment-018')
0 files changed, 0 insertions, 0 deletions