X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.time.xml;h=3d13b573fa46ee8c1bb81e085375308205917712;hp=8e44e3dddea29e7c745549965e6523552d8da054;hb=6b4991cfde6c0a0b62e836ca75ae362779c474d4;hpb=7a529f63e60dfdccc23d61808c20ba40d9901e47 diff --git a/man/systemd.time.xml b/man/systemd.time.xml index 8e44e3ddd..3d13b573f 100644 --- a/man/systemd.time.xml +++ b/man/systemd.time.xml @@ -50,16 +50,16 @@ Description - In systemd timestamps, timespans, and calendar + In systemd, timestamps, time spans, and calendar events are displayed and may be specified in closely related syntaxes. - Displaying Timespans + Displaying Time Spans - Timespans refer to time durations. On display - systemd will present timespans as a space separated + Time spans refer to time durations. On display, + systemd will present time spans as a space-separated series of time values each suffixed by a time unit. @@ -70,10 +70,10 @@ - Parsing Timespans + Parsing Time Spans - When parsing systemd will accept the same - timespan syntax. Separating spaces may be omitted. The + When parsing, systemd will accept the same + time span syntax. Separating spaces may be omitted. The following time units are understood: @@ -92,9 +92,9 @@ are assumed, but some exceptions exist and are marked as such. In a few cases ns, nsec is accepted too, where the - granularity of the timespan allows for this. + granularity of the time span allows for this. - Examples for valid timespan specifications: + Examples for valid time span specifications: 2 h 2hours @@ -108,12 +108,12 @@ Displaying Timestamps Timestamps refer to specific, unique points in - time. On display systemd will format these in the + time. On display, systemd will format these in the local timezone as follows: Fri 2012-11-23 23:02:15 CET - The week day is printed according to the locale + The weekday is printed according to the locale choice of the user. @@ -123,11 +123,11 @@ When parsing systemd will accept a similar timestamp syntax, but excluding any timezone specification (this limitation might be removed - eventually). The week day specification is optional, - but when the week day is specified it must either be + eventually). The weekday specification is optional, + but when the weekday is specified it must either be in the abbreviated (Wed) or - non-abbreviated (Wednesday) english - language form (case doesn't matter), and is not + non-abbreviated (Wednesday) English + language form (case does not matter), and is not subject to the locale choice of the user. Either the date, or the time part may be omitted, in which case the current date or 00:00:00, resp., is assumed. The @@ -136,11 +136,11 @@ specified in full or may be abbreviated (omitting the century). - A timestamp is considered invalid if a week day + A timestamp is considered invalid if a weekday is specified and the date does not actually match the specified day of the week. - When parsing systemd will also accept a few + When parsing, systemd will also accept a few special placeholders instead of timestamps: now may be used to refer to the current time (or of the invocation of the command @@ -150,14 +150,14 @@ current day, the day before or the next day, respectively. - When parsing systemd will also accept relative - time specifications. A timespan (see above) that is + When parsing, systemd will also accept relative + time specifications. A time span (see above) that is prefixed with + is evaluated to the current time plus the specified - timespan. Correspondingly a timespan that is prefix + time span. Correspondingly, a time span that is prefixed with - is evaluated to the current - time minus the specified timespan. Instead of - prefixing the timespan with - it + time minus the specified time span. Instead of + prefixing the time span with - it may also be suffixed with a space and the word ago. @@ -182,10 +182,10 @@ Note that timestamps printed by systemd will not be parsed correctly by systemd, as the timezone specification is not accepted, and printing timestamps - is subject to locale settings for the week day while - parsing only accepts english week day names. + is subject to locale settings for the weekday while + parsing only accepts English weekday names. - In some cases systemd will display a relative + In some cases, systemd will display a relative timestamp (relative to the current time, or the time of invocation of the command) instead or in addition to an absolute timestamp as described above. A @@ -208,29 +208,30 @@ The above refers to 11:12:13 of the first or fifth day of any month of the year 2012, given that it - is a thursday or friday. + is a Thursday or Friday. The weekday specification is optional. If - specified it should consist of one or more english - language week day names, either in the abbreviated + specified, it should consist of one or more English + language weekday names, either in the abbreviated (Wed) or non-abbreviated (Wednesday) form (case does - not matter), separated by colons. Specifying two week - days separated by "-" refers to a range of continuous - week days. "," and "-" may be combined freely. - - In the date and time specifications any - component may be specified as "*" in which case any - value will match. Alternatively, each component can be - specified as list of values separated by - colons. Values may also be suffixed with "/" and a - repetition value, which indicates that the value and - all values plus multiples of the repetition value are - matched. + not matter), separated by commas. Specifying two + weekdays separated by - refers to a + range of continuous weekdays. , and + - may be combined freely. + + In the date and time specifications, any + component may be specified as * in + which case any value will match. Alternatively, each + component can be specified as list of values separated + by commas. Values may also be suffixed with + / and a repetition value, which + indicates that the value and all values plus multiples + of the repetition value are matched. Either time or date specification may be omitted, in which case the current day and 00:00:00 is implied, respectively. If the second component is not - specified ":00" is assumed. + specified :00 is assumed. Timezone names may not be specified. @@ -273,7 +274,7 @@ Wed-Sat,Tue 12-10-15 1:2:3 → Tue-Sat 2012-10-15 01:02:03 *:2/3 → *-*-* *:02/3:00 Calendar events are used by timer units, see - systemd.time5 + systemd.timer5 for details. @@ -284,7 +285,8 @@ Wed-Sat,Tue 12-10-15 1:2:3 → Tue-Sat 2012-10-15 01:02:03 systemd1, journalctl1, systemd.timer5, - systemd.unit5 + systemd.unit5, + systemd.directives7