summaryrefslogtreecommitdiff
path: root/test/baseline/opt-datetime-format.test
diff options
context:
space:
mode:
authortripun <tripun@gmail.com>2014-08-10 00:43:47 +0530
committerMartin Michlmayr <tbm@cyrius.com>2014-08-10 08:43:18 +0200
commit573fd8764b6df7dc7a5e3c0f0db52a2b65681a97 (patch)
treeb2a0a15382ecd00b69cdb7bcb9c7992e480e70b0 /test/baseline/opt-datetime-format.test
parentebf9585d99564c10a5c069cfe4ab00cc0a9bd974 (diff)
downloadfork-ledger-573fd8764b6df7dc7a5e3c0f0db52a2b65681a97.tar.gz
fork-ledger-573fd8764b6df7dc7a5e3c0f0db52a2b65681a97.tar.bz2
fork-ledger-573fd8764b6df7dc7a5e3c0f0db52a2b65681a97.zip
add test for --datetime-format
Diffstat (limited to 'test/baseline/opt-datetime-format.test')
-rw-r--r--test/baseline/opt-datetime-format.test22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/baseline/opt-datetime-format.test b/test/baseline/opt-datetime-format.test
index e69de29b..8550474e 100644
--- a/test/baseline/opt-datetime-format.test
+++ b/test/baseline/opt-datetime-format.test
@@ -0,0 +1,22 @@
+i 2013/04/05 09:30:00 Internal:Meeting:Tactical Intelligent comment
+o 2013/04/05 10:00:00
+i 2013/04/05 10:00:00 CustomerA:Email
+o 2013/04/05 10:05:00
+i 2013/04/05 10:05:00 CustomerB:Config
+o 2013/04/05 11:30:00
+i 2013/04/05 11:30:00 Personal:Walk
+o 2013/04/05 12:00:00
+i 2013/04/05 12:00:00 Personal:Lunch
+o 2013/04/05 13:30:00
+
+test bal --time-report --datetime-format '%m/%d/%y %I:%M %p'
+ 04/05/13 10:00 AM 04/05/13 10:05 AM 5.0m CustomerA:Email
+ 04/05/13 10:05 AM 04/05/13 11:30 AM 1.42h CustomerB:Config
+ 04/05/13 09:30 AM 04/05/13 10:00 AM 30.0m Internal:Meeting:Tactical
+ 2.00h Personal
+ 04/05/13 12:00 PM 04/05/13 01:30 PM 1.50h Lunch
+ 04/05/13 11:30 AM 04/05/13 12:00 PM 30.0m Walk
+--------------------------------------------------
+
+end test
+