Don't use the varname tag

This is just an environment variable, after all.
This commit is contained in:
Matthias Clasen 2014-02-01 21:41:57 -05:00
parent d282bd3929
commit 9b6cc973a0

View File

@ -1305,7 +1305,7 @@ rules_from_identifier (const gchar *identifier,
* *
* @identifier can either be an RFC3339/ISO 8601 time offset or * @identifier can either be an RFC3339/ISO 8601 time offset or
* something that would pass as a valid value for the * something that would pass as a valid value for the
* <varname>TZ</varname> environment variable (including %NULL). * <envar>TZ</envar> environment variable (including %NULL).
* *
* In Windows, @identifier can also be the unlocalized name of a time * In Windows, @identifier can also be the unlocalized name of a time
* zone for standard time, for example "Pacific Standard Time". * zone for standard time, for example "Pacific Standard Time".
@ -1316,7 +1316,7 @@ rules_from_identifier (const gchar *identifier,
* time values to be added to Coordinated Universal Time (UTC) to get * time values to be added to Coordinated Universal Time (UTC) to get
* the local time. * the local time.
* *
* In Unix, the <varname>TZ</varname> environment variable typically * In Unix, the <envar>TZ</envar> environment variable typically
* corresponds to the name of a file in the zoneinfo database, or * corresponds to the name of a file in the zoneinfo database, or
* string in "std offset [dst [offset],start[/time],end[/time]]" * string in "std offset [dst [offset],start[/time],end[/time]]"
* (POSIX) format. There are no spaces in the specification. The * (POSIX) format. There are no spaces in the specification. The
@ -1339,15 +1339,15 @@ rules_from_identifier (const gchar *identifier,
* Coordinated Universal Time (UTC). * Coordinated Universal Time (UTC).
* *
* g_time_zone_new_local() calls this function with the value of the * g_time_zone_new_local() calls this function with the value of the
* <varname>TZ</varname> environment variable. This function itself is * <envar>TZ</envar> environment variable. This function itself is
* independent of the value of <varname>TZ</varname>, but if @identifier * independent of the value of <envar>TZ</envar>, but if @identifier
* is %NULL then <filename>/etc/localtime</filename> will be consulted * is %NULL then <filename>/etc/localtime</filename> will be consulted
* to discover the correct time zone on Unix and the registry will be * to discover the correct time zone on Unix and the registry will be
* consulted or GetTimeZoneInformation() will be used to get the local * consulted or GetTimeZoneInformation() will be used to get the local
* time zone on Windows. * time zone on Windows.
* *
* If intervals are not available, only time zone rules from * If intervals are not available, only time zone rules from
* <varname>TZ</varname> environment variable or other means, then they * <envar>TZ</envar> environment variable or other means, then they
* will be computed from year 1900 to 2037. If the maximum year for the * will be computed from year 1900 to 2037. If the maximum year for the
* rules is available and it is greater than 2037, then it will followed * rules is available and it is greater than 2037, then it will followed
* instead. * instead.
@ -1355,11 +1355,11 @@ rules_from_identifier (const gchar *identifier,
* See <ulink * See <ulink
* url='http://tools.ietf.org/html/rfc3339#section-5.6'>RFC3339 * url='http://tools.ietf.org/html/rfc3339#section-5.6'>RFC3339
* §5.6</ulink> for a precise definition of valid RFC3339 time offsets * §5.6</ulink> for a precise definition of valid RFC3339 time offsets
* (the <varname>time-offset</varname> expansion) and ISO 8601 for the * (the <literal>time-offset</literal> expansion) and ISO 8601 for the
* full list of valid time offsets. See <ulink * full list of valid time offsets. See <ulink
* url='http://www.gnu.org/s/libc/manual/html_node/TZ-Variable.html'>The * url='http://www.gnu.org/s/libc/manual/html_node/TZ-Variable.html'>The
* GNU C Library manual</ulink> for an explanation of the possible * GNU C Library manual</ulink> for an explanation of the possible
* values of the <varname>TZ</varname> environment variable. See <ulink * values of the <envar>TZ</envar> environment variable. See <ulink
* url='http://msdn.microsoft.com/en-us/library/ms912391%28v=winembedded.11%29.aspx'> * url='http://msdn.microsoft.com/en-us/library/ms912391%28v=winembedded.11%29.aspx'>
* Microsoft Time Zone Index Values</ulink> for the list of time zones * Microsoft Time Zone Index Values</ulink> for the list of time zones
* on Windows. * on Windows.
@ -1493,7 +1493,7 @@ g_time_zone_new_utc (void)
* if the system administrator changes it. * if the system administrator changes it.
* *
* This is equivalent to calling g_time_zone_new() with the value of the * This is equivalent to calling g_time_zone_new() with the value of the
* <varname>TZ</varname> environment variable (including the possibility * <envar>TZ</envar> environment variable (including the possibility
* of %NULL). * of %NULL).
* *
* You should release the return value by calling g_time_zone_unref() * You should release the return value by calling g_time_zone_unref()