mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Specify ranges without ':' in configuration
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
edfabcc1e5
commit
c6130157c6
6 changed files with 17 additions and 18 deletions
|
@ -61,7 +61,7 @@ class TestExtensions(TestCase):
|
|||
"""Default range is applied when no range is given on the command line"""
|
||||
self.t.add_default_extension("debug.py")
|
||||
|
||||
self.t.config("reports.debug.range", "':day'")
|
||||
self.t.config("reports.debug.range", "'day'")
|
||||
|
||||
now = datetime.now()
|
||||
now_utc = now.utcnow()
|
||||
|
@ -85,7 +85,7 @@ class TestExtensions(TestCase):
|
|||
"""Default range is overridden when range is given on the command line"""
|
||||
self.t.add_default_extension("debug.py")
|
||||
|
||||
self.t.config("reports.debug.range", "':day'")
|
||||
self.t.config("reports.debug.range", "'day'")
|
||||
|
||||
now = datetime.now()
|
||||
now_utc = now.utcnow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue