summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/datetime.cc b/datetime.cc
index 591ba8ee..f200d493 100644
--- a/datetime.cc
+++ b/datetime.cc
@@ -308,7 +308,7 @@ bool parse_date(const char * date_str, std::time_t * result, const int year)
bool quick_parse_date(const char * date_str, std::time_t * result)
{
#if 1
- return parse_date(date_str, result, now_year);
+ return parse_date(date_str, result, now_year + 1900);
#else
int year = -1, month = -1, day, num = 0;