Re: setting the timezone with TZ env var

Sven Guckes <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
* John E. Davis <[email protected]> [2008-08-29 16:43]:
> Sven Guckes <[email protected]> wrote:
> >   Additional Comment #1 From Ulrich Drepper  2007-10-16 05:44
> >
> >   No, /etc/localtime is not touched too often.  All the time functions are
> >   required to check TZ all the time.  Missing that envvar, /etc/localtime is used.
> >   People who move laptops from one timezone to the other appreciate that.
> >   If this is no problem of yours just set TZ to /etc/localtime and all this will stop.
> >
> > so... setting it how exactly?  example?
> 
> See <http://www.gnu.org/software/libtool/manual/libc/TZ-Variable.html>.

i understand that *not* using a filename which specifies a timezone will do.
so - as my timezone is "CEST" the following *should* work, right?

  $ TZ=CEST slrn

Sven

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.