[mapserver-commits] r12583 - branches/branch-6-0/docs/en/mapfile
trunk/docs/en/mapfile
svn at osgeo.org
svn at osgeo.org
Sat Sep 24 16:29:22 EDT 2011
Author: havatv
Date: 2011-09-24 13:29:22 -0700 (Sat, 24 Sep 2011)
New Revision: 12583
Modified:
branches/branch-6-0/docs/en/mapfile/template.txt
trunk/docs/en/mapfile/template.txt
Log:
Added the date tag to the template document (#3502).
Modified: branches/branch-6-0/docs/en/mapfile/template.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/template.txt 2011-09-24 20:18:12 UTC (rev 12582)
+++ branches/branch-6-0/docs/en/mapfile/template.txt 2011-09-24 20:29:22 UTC (rev 12583)
@@ -13,7 +13,6 @@
:Contact: jmckenna at gatewaygeomatics.com
:Revision: $Revision$
:Date: $Date$
-:Last Updated: 2010/01/25
.. contents:: Table of Contents
:depth: 2
@@ -94,6 +93,38 @@
General
-------
+[date]
+ Outputs the date (as per the web server's clock). The default
+ format is the same as is used by Apache's Common Log format,
+ which looks like:
+
+ ::
+
+ 01/Dec/2010:17:34:58 -0800
+
+ Available arguments:
+
+ - format=
+ A format string as supported by the standard C strftime()
+ function. As an example, the default format is defined as:
+
+ ::
+
+ [date format="%d/%b/%Y:%H:%M:%S %z"]
+
+ - tz=
+ timezone to use for the date returned. Default is
+ "local". Valid values are:
+
+ - "gmt"
+ Output date will be Greenwich time
+
+ - "local"
+ Output the time in the web server's local time zone.
+
+ Additionally or alternatively, the %z and %Z strftime format
+ strings allow the timezone offset or name to be output.
+
[version]
The MapServer version number.
Modified: trunk/docs/en/mapfile/template.txt
===================================================================
--- trunk/docs/en/mapfile/template.txt 2011-09-24 20:18:12 UTC (rev 12582)
+++ trunk/docs/en/mapfile/template.txt 2011-09-24 20:29:22 UTC (rev 12583)
@@ -13,7 +13,6 @@
:Contact: jmckenna at gatewaygeomatics.com
:Revision: $Revision$
:Date: $Date$
-:Last Updated: 2010/01/25
.. contents:: Table of Contents
:depth: 2
@@ -94,6 +93,38 @@
General
-------
+[date]
+ Outputs the date (as per the web server's clock). The default
+ format is the same as is used by Apache's Common Log format,
+ which looks like:
+
+ ::
+
+ 01/Dec/2010:17:34:58 -0800
+
+ Available arguments:
+
+ - format=
+ A format string as supported by the standard C strftime()
+ function. As an example, the default format is defined as:
+
+ ::
+
+ [date format="%d/%b/%Y:%H:%M:%S %z"]
+
+ - tz=
+ timezone to use for the date returned. Default is
+ "local". Valid values are:
+
+ - "gmt"
+ Output date will be Greenwich time
+
+ - "local"
+ Output the time in the web server's local time zone.
+
+ Additionally or alternatively, the %z and %Z strftime format
+ strings allow the timezone offset or name to be output.
+
[version]
The MapServer version number.
More information about the mapserver-commits
mailing list