GUAC-1451: Document GUAC_DATE and GUAC_TIME tokens. Clarify wording.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual/commit/ef70c008 Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual/tree/ef70c008 Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual/diff/ef70c008 Branch: refs/heads/master Commit: ef70c0084fbbcc28ce0f5ac1a7b9db6e61da78b7 Parents: 9f9c32d Author: Michael Jumper <[email protected]> Authored: Fri Jan 22 12:05:44 2016 -0800 Committer: Michael Jumper <[email protected]> Committed: Fri Jan 22 12:05:44 2016 -0800 ---------------------------------------------------------------------- src/chapters/configuring.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-manual/blob/ef70c008/src/chapters/configuring.xml ---------------------------------------------------------------------- diff --git a/src/chapters/configuring.xml b/src/chapters/configuring.xml index 09b5bba..9176ef2 100644 --- a/src/chapters/configuring.xml +++ b/src/chapters/configuring.xml @@ -2745,7 +2745,7 @@ ed272546-87bd-4db9-acba-e36e1a9ca20a <varlistentry> <term><varname>${GUAC_USERNAME}</varname></term> <listitem> - <para>The username of the current Guacamole user. When a user accesses this + <para>The username of the current Guacamole user. When a user accesses a connection, this token will be dynamically replaced with the username they provided when logging in to Guacamole.</para> </listitem> @@ -2753,11 +2753,31 @@ ed272546-87bd-4db9-acba-e36e1a9ca20a <varlistentry> <term><varname>${GUAC_PASSWORD}</varname></term> <listitem> - <para>The password of the current Guacamole user. When a user accesses this + <para>The password of the current Guacamole user. When a user accesses a connection, this token will be dynamically replaced with the password they used when logging in to Guacamole.</para> </listitem> </varlistentry> + <varlistentry> + <term><varname>${GUAC_DATE}</varname></term> + <listitem> + <para>The current date in the local time zone of the Guacamole server. This + will be written in "YYYYMMDD" format, where "YYYY" is the year, "MM" is + the month number, and "DD" is the day of the month, all zero-padded. + When a user accesses a connection, this token will be dynamically + replaced with the date that the connection began.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><varname>${GUAC_TIME}</varname></term> + <listitem> + <para>The current time in the local time zone of the Guacamole server. This + will be written in "HHMMSS" format, where "HH" is hours in 24-hour time, + "MM" is minutes, and "SS" is seconds, all zero-padded. When a user + accesses a connection, this token will be dynamically replaced with the + time that the connection began.</para> + </listitem> + </varlistentry> </variablelist> <para>Note that these tokens are replaced dynamically each time a connection is used. If two different users access the same connection at the same time, both users will be
