diff options
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%25252525252525252525252525253fid%25252525252525252525252525253dfabacecd16eb62ff94dfa8955862852a410e3524%252525252525252525252525253fid%252525252525252525252525253dfabacecd16eb62ff94dfa8955862852a410e3524%2525252525252525252525253fid%2525252525252525252525253dfabacecd16eb62ff94dfa8955862852a410e3524&id2%2525252525252525252525253d8fffc9dc8e5dd930785ef00e58000e5b1b2afd25%25252525252525252525253fid%25252525252525252525253dfabacecd16eb62ff94dfa8955862852a410e3524%252525252525252525253fid%252525252525252525253d8fffc9dc8e5dd930785ef00e58000e5b1b2afd25%2525252525252525253fid%2525252525252525253d9fb532abe4f55db654863ca3fa7bf877f4990875%25252525252525253fid%25252525252525253d9fb532abe4f55db654863ca3fa7bf877f4990875%252525252525253fid%252525252525253d9fb532abe4f55db654863ca3fa7bf877f4990875%2525252525253fid%2525252525253d9fb532abe4f55db654863ca3fa7bf877f4990875%25252525253fid%25252525253d9fb532abe4f55db654863ca3fa7bf877f4990875%252525253fid%252525253df2918b1700974831fd891b17e7e2126ffa454519%2525253fid%2525253df2918b1700974831fd891b17e7e2126ffa454519%25253fid%25253df2918b1700974831fd891b17e7e2126ffa454519%253fid%253df2918b1700974831fd891b17e7e2126ffa454519%3fid%3df3779d59459ee1222d8cc53ce4e4aa009b9c3851?id=36f98382e708d64e41d97be330b7c012f68cf9b6')
0 files changed, 0 insertions, 0 deletions