diff --git a/todoman/formatters.py b/todoman/formatters.py index 7740d3eb..7d19ca09 100644 --- a/todoman/formatters.py +++ b/todoman/formatters.py @@ -192,7 +192,8 @@ def _parse_datetime_naive(self, dt): except ValueError: pass - rv, pd_ctx = self._parsedatetime_calendar.parse(dt) + now = datetime.datetime.now(self.tz) + rv, pd_ctx = self._parsedatetime_calendar.parse(dt, now) if not pd_ctx.hasDateOrTime: raise ValueError('Time description not recognized: {}'.format(dt)) return datetime.datetime.fromtimestamp(mktime(rv))