1timew-durations(7)               User Manuals               timew-durations(7)
2
3
4

NAME

6       timew-durations - duration formats supported by Timewarrior
7

SYNOPSIS

DESCRIPTION

10       Timewarrior supports the following duration formats based on ISO-8601:
11         'P' [nn 'Y'] [nn 'M'] [nn 'D'] ['T' [nn 'H'] [nn 'M'] [nn 'S']]
12         PnnW
13       Examples:
14         P1Y           1 year
15         P1.5M         1.5 months
16         PT1S          1 second
17         PT4.5H        4.5 hours
18         PT4H30M       4.5 hours
19         P600D         600 days
20         P3W           3 weeks
21         P1Y1DT1H1M1S  1 year and 25 hours, 61 seconds (imprecise term)
22       Note that the year and month terms are imprecise, being defined as 365d
23       and 30d respectively.  For precision use the other terms.
24       In addition to the standard duration formats, the  following  are  sup‐
25       ported:
26         n[.n]<unit>
27       Where the <unit> is one of:
28         annual
29         biannual
30         bimonthly
31         biweekly
32         biyearly
33         daily
34         days, day, d
35         fortnight
36         hours, hour, hrs, hr, h
37         minutes, minute, mins, min
38         monthly, months, month, mnths, mths, mth, mos, mo, m
39         quarterly, quarters, quarter, qrtrs, qtr, q
40         semiannual
41         sennight
42         seconds, second, secs, sec, s
43         weekdays
44         weekly, weeks, week, wks, wk, w
45         yearly, years, year, yrs, yr, y
46       Examples:
47         1hour         60 minutes
48         1.5h          90 minutes
49         3mo           3 months
50         10d           10 days
51       Note  that  the  year,  quarter  and  month  terms are imprecise, being
52       defined as 365d, 91d and 30d respectively.  For precision use the other
53       terms.
54
55
56
57timew 1.3.0                       2020-04-21                timew-durations(7)
Impressum