From d3690d81d2b33a0b58f3ad5b91b96fa9e57b57c6 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 8 Aug 2002 17:01:30 +0000 Subject: Add an entry regarding localtime(), TZ, and timezone support. --- docs/uclibc.org/FAQ.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/uclibc.org/FAQ.html b/docs/uclibc.org/FAQ.html index dc5b193bf..946306819 100644 --- a/docs/uclibc.org/FAQ.html +++ b/docs/uclibc.org/FAQ.html @@ -238,7 +238,6 @@ to the uClibc home page. to match your target system, and then run 'make'. -

@@ -314,6 +313,25 @@ to the uClibc home page. cross compiling. +

+ + + Why does localtime() return times in UTC even when I have my timezone set? + + + + + + The uClibc time functions get timezone information from the TZ environment + variable, as described in the Single Unix Specification Version 3. See + + http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html + for details on valid settings of TZ. For some additional examples, read + + http://www.uclibc.org/lists/uclibc/2002-August/006261.html in the uClibc + mailing list archive. + +

-- cgit v1.2.3