GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
147 stars 28 forks source link

Test failed: eoy conversion #87

Closed Ninlives closed 3 years ago

Ninlives commented 3 years ago

Log:

======================================================================
FAIL: test_complex_eoy_conversion (tasklib.tests.DatetimeStringTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/tasklib-2.2.1/tasklib/tests.py", line 1262, in test_complex_eoy_conversion
    self.assertEqual(due_date, t['due'])
AssertionError: datetime.datetime(2020, 9, 2, 23, 59, 59, tzinfo=<UTC>) != datetime.datetime(2020, 9, 3, 0, 0, tzinfo=<UTC>)

======================================================================
FAIL: test_simple_eoy_conversion (tasklib.tests.DatetimeStringTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/tasklib-2.2.1/tasklib/tests.py", line 1239, in test_simple_eoy_conversion
    self.assertEqual(eoy, t['due'])
AssertionError: datetime.datetime(2020, 12, 31, 23, 59, 59, tzinfo=<UTC>) != datetime.datetime(2021, 1, 1, 0, 0, tzinfo=<UTC>)

Did task change the interpretion of 'eoy’?