summaryrefslogtreecommitdiff
path: root/man/systemd.time.xml
diff options
context:
space:
mode:
authorMark Stosberg <mark@rideamigos.com>2017-05-08 19:05:34 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-05-08 19:05:34 -0400
commit6d892bd19e6345204aede0b814de5bf1d4614c98 (patch)
treed9d5149fec5f85d21c7681c4187413f6e791b84b /man/systemd.time.xml
parent48a0715ed42ac180563ad759adc2ae81586021a3 (diff)
downloadsystemd-6d892bd19e6345204aede0b814de5bf1d4614c98.tar.gz
man: improve readability of time shorthands and their normalized forms. (#5912)
Diffstat (limited to 'man/systemd.time.xml')
-rw-r--r--man/systemd.time.xml28
1 files changed, 11 insertions, 17 deletions
diff --git a/man/systemd.time.xml b/man/systemd.time.xml
index d30c6cffc9..659f14328e 100644
--- a/man/systemd.time.xml
+++ b/man/systemd.time.xml
@@ -242,23 +242,17 @@
the local timezone, similar to the supported syntax of timestamps (see above). Non-local timezones except for UTC
are not supported.</para>
- <para>The special expressions
- <literal>minutely</literal>,
- <literal>hourly</literal>, <literal>daily</literal>,
- <literal>monthly</literal>, <literal>weekly</literal>,
- <literal>yearly</literal>,
- <literal>quarterly</literal>,
- <literal>semiannually</literal> may be used as
- calendar events which refer to
- <literal>*-*-* *:*:00</literal>,
- <literal>*-*-* *:00:00</literal>,
- <literal>*-*-* 00:00:00</literal>,
- <literal>*-*-01 00:00:00</literal>,
- <literal>Mon *-*-* 00:00:00</literal>,
- <literal>*-01-01 00:00:00</literal>,
- <literal>*-01,04,07,10-01 00:00:00</literal> and
- <literal>*-01,07-01 00:00:00</literal>, respectively.
- </para>
+ <para>The following special expressions may be used as shorthands for longer normalized forms:</para>
+
+ <programlisting> minutely → *-*-* *:*:00
+ hourly → *-*-* *:00:00
+ daily → *-*-* 00:00:00
+ monthly → *-*-01 00:00:00
+ weekly → Mon *-*-* 00:00:00
+ yearly → *-01-01 00:00:00
+ quarterly → *-01,04,07,10-01 00:00:00
+semiannually → *-01,07-01 00:00:00
+ </programlisting>
<para>Examples for valid timestamps and their
normalized form:</para>