mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Docs: Updated exclusion syntax
This commit is contained in:
parent
42215f7a36
commit
2d7a9769d1
3 changed files with 17 additions and 16 deletions
12
doc/data.txt
12
doc/data.txt
|
@ -59,12 +59,12 @@ exclusions.
|
||||||
|
|
||||||
An example file looks like this:
|
An example file looks like this:
|
||||||
|
|
||||||
exc monday 8:00:00-12:00:00 12:45:00-17:30:00
|
exc monday <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
exc tuesday 8:00:00-12:00:00 12:45:00-18:30:00
|
exc tuesday <8:00:00 12:00:00-12:45:00 >18:30:00
|
||||||
exc wednesday 8:00:00-12:00:00 13:30:00-17:30:00
|
exc wednesday <8:00:00 12:00:00-13:30:00 >17:30:00
|
||||||
exc thursday 8:00:00-12:00:00 12:45:00-17:30:00
|
exc thursday <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
exc friday 8:00:00-12:00:00 12:45:00-17:30:00
|
exc friday <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
exc day on 2016-01-01
|
exc day on 2016-01-01
|
||||||
exc day off 2016-01-02
|
exc day off 2016-01-02
|
||||||
|
|
||||||
inc 20160228T080000Z - 20160228T120000Z # Upgrade Planning
|
inc 20160228T080000Z - 20160228T120000Z # Upgrade Planning
|
||||||
|
|
|
@ -35,11 +35,11 @@ Or if you forgot a whole activity:
|
||||||
More sophisticated use is possible if you have defined your work week with:
|
More sophisticated use is possible if you have defined your work week with:
|
||||||
|
|
||||||
define exclusions:
|
define exclusions:
|
||||||
monday = 8:00:00-12:00:00 12:45:00-17:30:00
|
monday = <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
tuesday = 8:00:00-12:00:00 12:45:00-18:30:00
|
tuesday = <8:00:00 12:00:00-12:45:00 >18:30:00
|
||||||
wednesday = 8:00:00-12:00:00 13:30:00-17:30:00
|
wednesday = <8:00:00 12:00:00-13:30:00 >17:30:00
|
||||||
thursday = 8:00:00-12:00:00 12:45:00-17:30:00
|
thursday = <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
friday = 8:00:00-12:00:00 12:45:00-17:30:00
|
friday = <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
|
|
||||||
$ timew track yesterday Home Painting
|
$ timew track yesterday Home Painting
|
||||||
|
|
||||||
|
|
|
@ -77,11 +77,12 @@ Because exclusions are resolved at run time, and only when needed, they should
|
||||||
be stored in a readily-interpreted form:
|
be stored in a readily-interpreted form:
|
||||||
|
|
||||||
define exclusions:
|
define exclusions:
|
||||||
monday = 8:00:00-12:00:00 12:45:00-17:30:00
|
monday = <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
tuesday = 8:00:00-12:00:00 12:45:00-18:30:00
|
tuesday = <8:00:00 12:00:00-12:45:00 >18:30:00
|
||||||
wednesday = 8:00:00-12:00:00 13:30:00-17:30:00
|
wednesday = <8:00:00 12:00:00-13:30:00 >17:30:00
|
||||||
thursday = 8:00:00-12:00:00 12:45:00-17:30:00
|
thursday = <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
friday = 8:00:00-12:00:00 12:45:00-17:30:00
|
friday = <8:00:00 12:00:00-12:45:00 >17:30:00
|
||||||
|
|
||||||
days:
|
days:
|
||||||
2016_01_01 = Working
|
2016_01_01 = Working
|
||||||
2016_01_02 = Off
|
2016_01_02 = Off
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue