diff options
author | John Wiegley <johnw@newartisans.com> | 2006-02-16 20:29:57 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:23 -0400 |
commit | 71a0ad82b9fd79326906e02c7f2b6e4b20edf8ff (patch) | |
tree | 384dc024d9dbf34bc872d5f5013edad48ffd1e22 | |
parent | 917ef6934c4b1db63ac6a7283843143732f888b9 (diff) | |
download | fork-ledger-71a0ad82b9fd79326906e02c7f2b6e4b20edf8ff.tar.gz fork-ledger-71a0ad82b9fd79326906e02c7f2b6e4b20edf8ff.tar.bz2 fork-ledger-71a0ad82b9fd79326906e02c7f2b6e4b20edf8ff.zip |
(parse): The period phrase "every month" was not working (it required
you to say "every monthly").
-rw-r--r-- | datetime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datetime.cc b/datetime.cc index f3434112..16c1e04e 100644 --- a/datetime.cc +++ b/datetime.cc @@ -237,7 +237,7 @@ void interval_t::parse(std::istream& in) seconds = 86400; else if (word == "week") seconds = 7 * 86400; - else if (word == "monthly") + else if (word == "month") months = 1; else if (word == "quarter") months = 3; |