aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-08-18 11:32:50 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-08-18 11:35:01 +0200
commite57b9654ff90230bc8b0631753b3dc0c829a9747 (patch)
tree2a2244463f3f74cec35086e40f66b28f86495c56
parentaca92e619db9bfa517877761285f37de11a50755 (diff)
downloadcalcurse-e57b9654ff90230bc8b0631753b3dc0c829a9747.tar.gz
calcurse-e57b9654ff90230bc8b0631753b3dc0c829a9747.zip
test/: Fix date in ical-001
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r--test/data/ical-001.ical2
-rwxr-xr-xtest/ical-001.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/data/ical-001.ical b/test/data/ical-001.ical
index e4a1f78..e26b904 100644
--- a/test/data/ical-001.ical
+++ b/test/data/ical-001.ical
@@ -1,7 +1,7 @@
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
-DTSTART:19020101T000100
+DTSTART:19800101T000100
DURATION:P1DT9H17M0S
SUMMARY:Calibrator's
END:VEVENT
diff --git a/test/ical-001.sh b/test/ical-001.sh
index 3fb6f87..a1cfba3 100755
--- a/test/ical-001.sh
+++ b/test/ical-001.sh
@@ -6,18 +6,18 @@ if [ "$1" = 'actual' ]; then
mkdir .calcurse || exit 1
cp "$DATA_DIR/conf" .calcurse || exit 1
"$CALCURSE" -D "$PWD/.calcurse" -i "$DATA_DIR/ical-001.ical"
- "$CALCURSE" -D "$PWD/.calcurse" -s01/01/1902 -r2
+ "$CALCURSE" -D "$PWD/.calcurse" -s01/01/1980 -r2
"$CALCURSE" -D "$PWD/.calcurse" -t
rm -rf .calcurse || exit 1
elif [ "$1" = 'expected' ]; then
cat <<EOD
Import process report: 0017 lines read
1 app / 0 events / 1 todo / 0 skipped
-01/01/02:
+01/01/80:
- 00:01 -> ..:..
Calibrator's
-01/02/02:
+01/02/80:
- ..:.. -> 09:18
Calibrator's
to do: