Shaun Ruffell
ae5e44c558
CmdSummary: Show recent intervals that start later in day than first interval with :all
...
It was possible for `summary` command, when used with the :all hint, to
skip over any intervals that start later than the first interval in the
database.
Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
2020-09-03 21:56:22 +02:00
Thomas Lauf
86024b1a41
Set upper limit for summary table to now
if both filter and latest interval are open
...
- Closes #378
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-08-29 19:26:30 +02:00
Thomas Lauf
63f230013a
Detect whether a date is meant as range
...
- Add DatetimeParser::parse_range: If a date contains no time, it is assumed to be a fixed range, else an open range starting at given datetime
- Add tests for summary with named dates 'yesterday' and 'today'
- Remove closing of filter in CmdSummary.cpp
- Closes #333
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-06-28 20:52:43 +02:00
Thomas Lauf
2906f36830
Add test for command summary
with :all
hint
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-06-22 22:21:27 +02:00
Thomas Lauf
ad58309159
Update Copyright
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-04-19 12:41:23 +02:00
Shaun Ruffell
42872f5168
test: Add test for filtering non-contiguous intervals
...
Related to #293
Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
2020-03-06 16:10:19 +01:00
Thomas Lauf
34a152c794
Replace assertRegexpMatches
with assertRegex
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
7fa7ca5f04
Remove vim annotations
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
f53e1cef6d
Switch to python 3
...
- #259
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:32 +01:00
Thomas Lauf
8b5a701eeb
Require python2 not python2.7 for tests
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-29 01:31:08 +02:00
Thomas Lauf
712b4b78b2
Revert "Run test with available python"
...
This reverts commit 6b89e122
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-24 21:10:57 +02:00
Thomas Lauf
6b89e12287
Run test with available python
...
- do not enforce python 2.7
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-22 21:21:11 +02:00
Janik Rabe
4e08bcca4d
#165 : Add test for empty intervals at midnight
2018-09-18 21:04:09 +02:00
Simon Ruderich
2271bd9eea
Use https:// link for opensource.org
2018-03-16 23:11:08 +01:00
Thomas Lauf
55508fd201
Reformat files
...
- Fix indentation
- Fix spacing
2018-03-07 21:23:43 +01:00
Thomas Lauf
dd42f844c6
Python refactoring
...
- Optimize imports
- Adjust coding style to PEP8
- Remove obsolete comments
2018-03-07 08:09:55 +01:00
Thomas Lauf
a281321fe4
#111 Make summary.t run on any time
2018-03-07 08:09:12 +01:00
Thomas Lauf
fa10230d37
Add tests for command "summary"
...
- with open interval
- with day gap
- with week change
- with several tracks per day
2018-01-11 21:18:16 +01:00
Thomas Lauf
8c12227a9d
Optimize imports
2018-01-11 21:18:16 +01:00
Thomas Lauf
17463da32f
Add test descriptions
2018-01-11 21:08:44 +01:00
Thomas Lauf
ac18340757
Fix test summary.t
...
- Make it work on single digit calendar weeks
2018-01-05 09:32:41 +01:00
Paul Beckingham
88d644d193
Copyright 2018
2017-12-31 19:37:13 -05:00
Thomas Lauf
28c39f8f7e
Fix filter for summary when only a date is given
...
- add test
2017-12-07 09:26:21 +01:00
Thomas Lauf
b509a90e8c
T-67: Add functional tests summary command
2017-03-24 23:22:32 +01:00