aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2019-09-14 20:19:39 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2019-10-18 16:29:34 -0400
commite25710f65057fb8290024a8fb4a11f1c5d4e2ee7 (patch)
tree977067520b57d494173c3a6744a8d3afee7b2051 /test/data
parent0e46881746c1a639933d1b794bd2438a430c9c3a (diff)
downloadcalcurse-e25710f65057fb8290024a8fb4a11f1c5d4e2ee7.tar.gz
calcurse-e25710f65057fb8290024a8fb4a11f1c5d4e2ee7.zip
Test for DST and recurrent items
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test/data')
-rw-r--r--test/data/apts-dst7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/data/apts-dst b/test/data/apts-dst
new file mode 100644
index 0000000..9bc60b7
--- /dev/null
+++ b/test/data/apts-dst
@@ -0,0 +1,7 @@
+03/29/2019 @ 12:00 -> 03/30/2019 @ 11:00 {2D -> 04/03/2019} |two-day - every other day - not on 1/4
+03/31/2019 @ 12:00 -> 03/31/2019 @ 13:00 {1D -> 04/01/2019} |daily - not on 31/3, twice on 1/4
+03/31/2019 @ 04:00 -> 03/31/2019 @ 05:00 {1W} |weekly - appears after one week
+03/31/2019 @ 12:00 -> 03/31/2019 @ 12:00 {1M} |monthly - never appears
+03/31/2019 @ 12:00 -> 03/31/2019 @ 12:00 {1Y} |yearly - never appears
+10/20/2019 @ 00:00 -> 10/21/2019 @ 01:00 {1W -> 11/03/2019} |25 hours - ends on 27th, but continues on 28th
+03/24/2019 @ 00:00 -> 03/25/2019 @ 00:00 {1W -> 04/07/2019} |24 hours - does not continue on April 1