TW-1500: Dates formatted as ".age", ".remaining", or ".countdown" often give blank results

- The 'age' column regained the ability to show negative durations.
- The 'countdown' and 'remaining' continue to show only positive values, by
  design.
- Thanks to Jeremy John Reeder.
This commit is contained in:
Paul Beckingham 2015-11-16 07:41:41 -05:00
parent f71630a416
commit ba098d790f
3 changed files with 15 additions and 5 deletions

View file

@ -373,7 +373,7 @@ class TestDateFormats(TestCase):
"""Verify due.age formatting"""
code, out, err = self.t("xxx rc.report.xxx.columns:id,due.age")
self.assertRegexpMatches(out, r'1\s+1d')
self.assertRegexpMatches(out, r'2$')
self.assertRegexpMatches(out, r'2\s+-16h')
def test_date_format_remaining(self):
"""Verify due.remaining formatting"""