]> granicus.if.org Git - icinga2/commitdiff
Documentation: Add examples for time related macros.
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 3 Feb 2014 10:11:56 +0000 (11:11 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 3 Feb 2014 10:11:56 +0000 (11:11 +0100)
Fixes #5376

doc/3.03-macros.md

index d4ba30c34d3ff4fd347bc3c8d2bf9489d2913775..6eaaef27119e221c9527d9081ccfdf13bbdebe82 100644 (file)
@@ -173,7 +173,7 @@ The following macros are available in all commands:
   Name                   | Description
   -----------------------|--------------
   TIMET                  | Current UNIX timestamp.
-  LONGDATETIME           | Current date and time including timezone information.
-  SHORTDATETIME          | Current date and time.
-  DATE                   | Current date.
-  TIME                   | Current time including timezone information.
+  LONGDATETIME           | Current date and time including timezone information. Example: `2014-01-0311:23:08+0000`
+  SHORTDATETIME          | Current date and time. Example: `2014-01-0311:23:08`
+  DATE                   | Current date. Example: `2014-01-03`
+  TIME                   | Current time including timezone information. Example: `11:23:08+0000`