mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Add configurable default range for reports
Query rule 'reports.<name>.range' for the specific default range of the report. Use rule 'reports.range' to configure an overall default range for all reports. Make internal reports 'summary', 'month', 'week', 'day', and 'gaps' use this feature. Closes #477 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
d056719a36
commit
5265b26e86
8 changed files with 84 additions and 11 deletions
|
@ -37,6 +37,11 @@ Determines whether the id column is shown in the summary.
|
|||
Can be overridden by the ':ids' and ':no-ids' hint, respectively.
|
||||
Default value is 'no'
|
||||
|
||||
**reports.summary.range**::
|
||||
Set the date range for the summary report.
|
||||
The value has to be a range hint, see timew-hints(7).
|
||||
Default value is ':day'
|
||||
|
||||
**tags.**__<tag>__**.color**::
|
||||
Assigns a specific foreground and background color to a tag.
|
||||
Examples of valid colors include 'white', 'gray8', 'black on yellow', and 'rgb345'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue