systemd/0002-man-document-yearly-and-annually-in-systemd.time-7.patch

50 lines
2.1 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 8c275eef38bf7e3e592e4cb35a497522d1f15bb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 16 Jul 2014 22:17:29 -0400
Subject: [PATCH] man: document yearly and annually in systemd.time(7)
https://bugs.freedesktop.org/show_bug.cgi?id=81158
---
man/systemd.time.xml | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git man/systemd.time.xml man/systemd.time.xml
index 0706cdf..02431a5 100644
--- man/systemd.time.xml
+++ man/systemd.time.xml
@@ -243,12 +243,16 @@
<para>The special expressions
<literal>hourly</literal>, <literal>daily</literal>,
- <literal>monthly</literal> and <literal>weekly</literal>
- may be used as calendar events which refer to
- <literal>*-*-* *:00:00</literal>, <literal>*-*-*
- 00:00:00</literal>, <literal>*-*-01 00:00:00</literal> and
- <literal>Mon *-*-* 00:00:00</literal>,
- respectively.</para>
+ <literal>monthly</literal>, <literal>weekly</literal>,
+ and <literal>yearly</literal> or
+ <literal>annually</literal> may be used as calendar
+ events which refer to
+ <literal>*-*-* *:00:00</literal>,
+ <literal>*-*-* 00:00:00</literal>,
+ <literal>*-*-01 00:00:00</literal>,
+ <literal>Mon *-*-* 00:00:00</literal>, and
+ <literal>*-01-01 00:00:00</literal> respectively.
+ </para>
<para>Examples for valid timestamps and their
normalized form:</para>
@@ -277,6 +281,8 @@ Wed-Sat,Tue 12-10-15 1:2:3 → Tue-Sat 2012-10-15 01:02:03
daily → *-*-* 00:00:00
monthly → *-*-01 00:00:00
weekly → Mon *-*-* 00:00:00
+ yearly → *-01-01 00:00:00
+ annually → *-01-01 00:00:00
*:2/3 → *-*-* *:02/3:00</programlisting>
<para>Calendar events are used by timer units, see
--
1.7.9.2