summaryrefslogtreecommitdiff
path: root/test/regress/7F3650FD.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-02 01:59:04 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-02 01:59:24 -0500
commit4a249d6172773db571556f469be6ee2c1c3690e9 (patch)
treeefb7cda6dfd63ff157cd7177db31cd88355b9099 /test/regress/7F3650FD.test
parent90c7298049546bd8d1f4f64aeedd6569780f9259 (diff)
downloadfork-ledger-4a249d6172773db571556f469be6ee2c1c3690e9.tar.gz
fork-ledger-4a249d6172773db571556f469be6ee2c1c3690e9.tar.bz2
fork-ledger-4a249d6172773db571556f469be6ee2c1c3690e9.zip
Fixed issues with period strings like "2009/10"
Diffstat (limited to 'test/regress/7F3650FD.test')
-rw-r--r--test/regress/7F3650FD.test50
1 files changed, 50 insertions, 0 deletions
diff --git a/test/regress/7F3650FD.test b/test/regress/7F3650FD.test
new file mode 100644
index 00000000..0eb3a96f
--- /dev/null
+++ b/test/regress/7F3650FD.test
@@ -0,0 +1,50 @@
+period --now=2010/11/01 12/01
+<<<
+>>>1
+global details =>
+
+ start: 09-Dec-01
+ end: 09-Dec-02
+ factor: 1
+>>>2
+=== 0
+period --now=2010/11/01 10/01
+<<<
+>>>1
+global details =>
+
+ start: 10-Oct-01
+ end: 10-Oct-02
+ factor: 1
+>>>2
+=== 0
+period --now=2010/11/01 2009/10
+<<<
+>>>1
+global details =>
+
+ start: 09-Oct-01
+ end: 09-Nov-01
+ factor: 1
+>>>2
+=== 0
+period --now=2010/11/01 2009/10/01
+<<<
+>>>1
+global details =>
+
+ start: 09-Oct-01
+ end: 09-Oct-02
+ factor: 1
+>>>2
+=== 0
+period --now=2010/11/01 2009
+<<<
+>>>1
+global details =>
+
+ start: 09-Jan-01
+ end: 10-Jan-01
+ factor: 1
+>>>2
+=== 0