diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-18 00:09:59 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-18 00:09:59 -0400 |
commit | dac10c8cf624613b9bdebe33e2d10c68ff310c50 (patch) | |
tree | 72278d83713b10851e57db81effaa8e275d51c0c /src/times.cc | |
parent | 4414fddb00849132495b0a30938af0f296dee32f (diff) | |
download | fork-ledger-dac10c8cf624613b9bdebe33e2d10c68ff310c50.tar.gz fork-ledger-dac10c8cf624613b9bdebe33e2d10c68ff310c50.tar.bz2 fork-ledger-dac10c8cf624613b9bdebe33e2d10c68ff310c50.zip |
Parse 2004/01 as YYYY/mm
Diffstat (limited to 'src/times.cc')
-rw-r--r-- | src/times.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/times.cc b/src/times.cc index 4ea7389b..7101d3c6 100644 --- a/src/times.cc +++ b/src/times.cc @@ -42,12 +42,15 @@ namespace { "%y/%m/%d", "%Y/%m/%d", "%m/%d", + "%Y/%m", "%y.%m.%d", "%Y.%m.%d", "%m.%d", + "%Y.%m", "%y-%m-%d", "%Y-%m-%d", "%m-%d", + "%Y-%m", "%a", "%A", "%b", |