mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Fixed rendering of countdown columns
Countdown columns were counting up days instead of down.
This commit is contained in:
parent
69b34dcef3
commit
90bc7f4b23
3 changed files with 5 additions and 3 deletions
|
@ -390,8 +390,8 @@ class TestDateFormats(TestCase):
|
|||
def test_date_format_countdown(self):
|
||||
"""Verify due.countdown formatting"""
|
||||
code, out, err = self.t("xxx rc.report.xxx.columns:id,due.countdown")
|
||||
self.assertRegex(out, r'1\s+\d+\S+')
|
||||
self.assertRegex(out, r'2\s+')
|
||||
self.assertRegex(out, r'1\s+')
|
||||
self.assertRegex(out, r'2\s+\d+\S+')
|
||||
|
||||
def test_date_format_unrecognized(self):
|
||||
"""Verify due.donkey formatting fails"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue