Test cases for impossible dates in recurrence rule

Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lars Henriksen
2019-04-28 00:20:37 +02:00
committed by Lukas Fleischer
parent 2be32c4bda
commit 52d52208c8
3 changed files with 54 additions and 1 deletions

View File

@@ -10,3 +10,5 @@
01/01/2000 @ 16:00 -> 01/02/2000 @ 02:00 {2D} |Recurrent appointment
01/01/2000 @ 00:00 -> 01/07/2000 @ 00:00 {1W} |Another recurrent appointment
01/01/2000 @ 00:00 -> 01/07/2000 @ 00:00 {1D} |Third recurrent appointment
05/31/2019 @ 07:25 -> 05/31/2019 @ 07:45 {1M} |Ignore impossible dates
02/29/2020 [1] {1Y} Every 29 February since 2020