[BusyBox] TimeZone settings for date display

Erik Andersen andersen at codepoet.org
Wed Aug 14 22:02:02 UTC 2002


On Wed Aug 14, 2002 at 06:34:06PM -0700, Deepali Holankar wrote:
> I am using glibc 2.2.3
> 
> and I am setting the timezone in the /etc/profile script.
> 
> I can set the Pacific daylight savings time, but I cannot set it to Pacific 
> time or Japan etc.

Basically, you need to be setting the TZ environment variable, per 
the Single Unix Specification Version 3:
    http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html

I posted some examples of how to do this to the uClibc mailing 
a little while back (it applied equally well to glibc):
    http://www.uclibc.org/lists/uclibc/2002-August/006261.html

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list