diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2019-04-27 23:28:52 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-05-20 09:37:11 -0400 |
commit | 2be32c4bda5236ec19e0f3c544adcd2974684f50 (patch) | |
tree | e7a58d113e3562a5e8227af9a60897444c3cc20a /src/getstring.c | |
parent | 8741334d83aa5f77f1169af70493f394f860779f (diff) | |
download | calcurse-2be32c4bda5236ec19e0f3c544adcd2974684f50.tar.gz calcurse-2be32c4bda5236ec19e0f3c544adcd2974684f50.zip |
Impossible dates in recurrence rules
According to RFC 5545 dates like 30 February and 31 June must be ignored
when derived from a recurrence rule.
calcurse relies on mktime() "normalization" of dates (e.g. turning 32
December 2019 into 1 January 2020 when moving from 31 December to the
next day).
Normalization may also lead to impossible dates in monthly and yearly
recurrence rules, and this must be avoided.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/getstring.c')
0 files changed, 0 insertions, 0 deletions