Skip to content
Permalink
Browse files

Extract documentation about intervals into separate man page

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
  • Loading branch information...
lauft committed Feb 15, 2019
1 parent 27cf2e0 commit e78ebb5c84fd91a187beef1433d160414d566f6f
Showing with 24 additions and 24 deletions.
  1. +24 −0 doc/man/timew-intervals.7.in
  2. +0 −24 doc/man/timew.1.in
@@ -0,0 +1,24 @@
``.SH INTERVAL
An interval defines a block of time that is tracked.
The syntax for specifying an interval is flexible, and may be one of:
.
[from] <date>
[from] <date> to/- <date>
[from] <date> for <duration>
<duration> before/after <date>
<duration> ago
[for] <duration>
.br
Examples are:
.
from 9:00
from 9am - 11am
from 9:00:00 to 11:00
from 9:00 for 2h
2h after 9am
2h before 11:00
2h ago
for 2h
.br
An interval is said to be 'closed' if there is both a start and end, and 'open' if there is no end date.
.
@@ -178,30 +178,6 @@ Remove tags from intervals
Display week chart
.RE
.
.SH INTERVAL
An interval defines a block of time that is tracked.
The syntax for specifying an interval is flexible, and may be one of:
.
[from] <date>
[from] <date> to/- <date>
[from] <date> for <duration>
<duration> before/after <date>
<duration> ago
[for] <duration>
.br
Examples are:
.
from 9:00
from 9am - 11am
from 9:00:00 to 11:00
from 9:00 for 2h
2h after 9am
2h before 11:00
2h ago
for 2h
.br
An interval is said to be 'closed' if there is both a start and end, and 'open' if there is no end date.
.
.SH "MORE EXAMPLES"
.
For examples please see the online documentation starting at:

0 comments on commit e78ebb5

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.