summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index 17f08852..acb2b0b8 100644
--- a/textual.cc
+++ b/textual.cc
@@ -712,7 +712,7 @@ unsigned int textual_parser_t::parse(std::istream& in,
}
case 'Y': // set the current year
- date_t::current_year = std::atoi(skip_ws(line + 1)) - 1900;
+ date_t::current_year = std::atoi(skip_ws(line + 1));
break;
#ifdef TIMELOG_SUPPORT