summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-18 02:15:31 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-18 02:15:31 -0400
commit8af33274fbb9cf0c9a4a452b77825ab6e519cf8d (patch)
tree20cade7c1ab8986db969a17e823168829b97c3f7 /textual.cc
parent9d1bdd0989996318825a458e01b7b0eb5f48397f (diff)
downloadfork-ledger-8af33274fbb9cf0c9a4a452b77825ab6e519cf8d.tar.gz
fork-ledger-8af33274fbb9cf0c9a4a452b77825ab6e519cf8d.tar.bz2
fork-ledger-8af33274fbb9cf0c9a4a452b77825ab6e519cf8d.zip
more time interval support: last month, last feb, next year, etc.
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/textual.cc b/textual.cc
index 88a1720a..df7d0242 100644
--- a/textual.cc
+++ b/textual.cc
@@ -476,8 +476,8 @@ unsigned int parse_textual_journal(std::istream& in, journal_t * journal,
case 'Y': // set the current year
in >> c;
- in >> now_tm->tm_year;
- now_tm->tm_year -= 1900;
+ in >> now_year;
+ now_year -= 1900;
break;
#ifdef TIMELOG_SUPPORT