From 8af33274fbb9cf0c9a4a452b77825ab6e519cf8d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 18 Aug 2004 02:15:31 -0400 Subject: more time interval support: last month, last feb, next year, etc. --- textual.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textual.cc') 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 -- cgit v1.2.3