Docs: Removed \define\ command

This commit is contained in:
Paul Beckingham 2016-04-07 08:00:01 -04:00
parent aed0d02c64
commit 55030dd010
7 changed files with 49 additions and 88 deletions

View file

@ -32,13 +32,14 @@ Or if you forgot a whole activity:
$ timew track 8:00am - 8:30am Exercise
$ timew start 8:30am Home Cleaning
More sophisticated use is possible if you have defined your work week:
More sophisticated use is possible if you have defined your work week with:
$ timew define day monday 9am - 5pm
$ timew define day tuesday 9am - 6pm
$ timew define day wednesday 9am - 5pm
$ timew define day thursday 9am - 5pm
$ timew define day friday 9am - 5pm
define exclusions:
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
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
friday = 8:00:00-12:00:00 12:45:00-17:30:00
$ timew track yesterday Home Painting
@ -46,7 +47,7 @@ Once the work week is recorded, vague terms like 'yesterday' can be resolved
into actual start/stop timestamps. If you define holidays, then it knows not to
track time on those days:
$ timew define holidays en-US
import /path/to/holidays/holidays.en-US
Furthermore, Timewarrior can fill in gaps. For example:
@ -65,8 +66,8 @@ And the 'ProjectB' tagged interval will range from 2pm - 3pm.
Tags can have their own metadata, for example you can make a tag valid for a
given time range:
$ timew define tag ProjectA end 2016-06-30
$ timew define tag ProjectA budget 400 hours total
$ timew config tag ProjectA end 2016-06-30
$ timew config tag ProjectA budget '400 hours total'
This is managed by a rules system that can impose constraints.