mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 10:30:03 +01:00
Don't use the varname tag
This is just an environment variable, after all.
This commit is contained in:
parent
d282bd3929
commit
9b6cc973a0
@ -1305,7 +1305,7 @@ rules_from_identifier (const gchar *identifier,
|
||||
*
|
||||
* @identifier can either be an RFC3339/ISO 8601 time offset or
|
||||
* 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
|
||||
* 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
|
||||
* 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
|
||||
* string in "std offset [dst [offset],start[/time],end[/time]]"
|
||||
* (POSIX) format. There are no spaces in the specification. The
|
||||
@ -1339,15 +1339,15 @@ rules_from_identifier (const gchar *identifier,
|
||||
* Coordinated Universal Time (UTC).
|
||||
*
|
||||
* g_time_zone_new_local() calls this function with the value of the
|
||||
* <varname>TZ</varname> environment variable. This function itself is
|
||||
* independent of the value of <varname>TZ</varname>, but if @identifier
|
||||
* <envar>TZ</envar> environment variable. This function itself is
|
||||
* independent of the value of <envar>TZ</envar>, but if @identifier
|
||||
* is %NULL then <filename>/etc/localtime</filename> will be consulted
|
||||
* to discover the correct time zone on Unix and the registry will be
|
||||
* consulted or GetTimeZoneInformation() will be used to get the local
|
||||
* time zone on Windows.
|
||||
*
|
||||
* 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
|
||||
* rules is available and it is greater than 2037, then it will followed
|
||||
* instead.
|
||||
@ -1355,11 +1355,11 @@ rules_from_identifier (const gchar *identifier,
|
||||
* See <ulink
|
||||
* url='http://tools.ietf.org/html/rfc3339#section-5.6'>RFC3339
|
||||
* §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
|
||||
* 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
|
||||
* 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'>
|
||||
* Microsoft Time Zone Index Values</ulink> for the list of time zones
|
||||
* on Windows.
|
||||
@ -1493,7 +1493,7 @@ g_time_zone_new_utc (void)
|
||||
* if the system administrator changes it.
|
||||
*
|
||||
* 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).
|
||||
*
|
||||
* You should release the return value by calling g_time_zone_unref()
|
||||
|
Loading…
x
Reference in New Issue
Block a user