Thread (1 message) 1 message, 1 author, 2015-01-29
DORMANTno replies

[PATCH V3 1/1] tzset.3: Add Environment section

From: J William Piggott <hidden>
Date: 2015-01-29 00:09:17
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

FILES section was overly verbose and included
environment variables.  Added ENVIRONMENT section,
removing ENV VARS from the FILES section.

As stated in commit 2c7f200
/usr/share/zoneinfo/localtime
is not used, nor recommended by glibc.

Signed-off-by: J William Piggott <redacted>
---

The following changes since commit 91907c29c02f8ac81b1c4f7e62495b00cc005ed7:

  kexec_load.2: srcfix: add mtk to copyright list (2015-01-28 21:56:38 +0100)

are available in the git repository at:

  git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:jwpi/man-pages.git tzsetv3

for you to fetch changes up to 254e03f0c6864175df80f185ec78b9c75c7b8baa:

  tzset.3: Add description for posixrules file (2015-01-28 17:26:06 -0500)


 man3/tzset.3 | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/man3/tzset.3 b/man3/tzset.3
index 81fbabe..9011e5f 100644
--- a/man3/tzset.3
+++ b/man3/tzset.3
@@ -182,28 +182,28 @@ Here's an example, once more for New Zealand:
      TZ=":Pacific/Auckland"
 .fi
+.SH ENVIRONMENT
+.TP
+.B TZ
+.RB If \ TZ
+is set, its value takes precedence over the system configured timezone.
+.TP
+.B TZDIR
+.RB If \ TZDIR
+is set, its value takes precedence over the system configured timezone
+database directory path.
 .SH FILES
-Under glibc,
-the system timezone directory is determined using the
-.BR TZDIR
-the environment variable.
-If
-.BR TZDIR
-is not set, the default depends on the system setup, but is normally
-.IR /usr/share/zoneinfo .
-.LP
-This timezone directory contains the files
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help