From c8e051a7ddc0c258452cc0739d021cbafb19c9a2 Mon Sep 17 00:00:00 2001 From: Wilhelm Schuermann Date: Fri, 16 Oct 2015 09:43:05 +0200 Subject: [PATCH] TW-1715: Add minimized testcase --- test/tw-1715.t | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 test/tw-1715.t diff --git a/test/tw-1715.t b/test/tw-1715.t new file mode 100755 index 000000000..fa8bd830b --- /dev/null +++ b/test/tw-1715.t @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +. bash_tap_tw.sh + +echo "uda.ticketdate.type=date" >> taskrc + +# This adds a task with a wrong ticketdate. If rc.dateformat is set, it works as expected. +task add basetask ticketdate:2015-09-03T08:00:00Z + +# For seeing the problem in test output; not needed to make the test fail. +task export + +task export | grep -E '"ticketdate":\s*"20150903T080000Z"'