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