On Mon, 2007-04-23 at 10:37, Jan-Benedict Glaw wrote: > On Mon, 2007-04-23 18:01:34 +0100, robert laing <[EMAIL PROTECTED]> wrote: > > i'm staging a uclibc-gentoo on an embedded device. > > i need to use a CET timezone without daylight saving. > > > > what is the correct string to put in /etc/TZ? > > > > reading this, i've seen only TZ whit dst > > http://wiki.openwrt.org/OpenWrtDocs/Configuration#head-a7708420e79025405daa939605108397c2bd7343 > > CET is only defined during the winter months. It's CEST during the > summer months, defined by local (or european?) law. > > With GNU libc, you can, however, use the more complex ways to define > TZ. In practice, you can do with it a lot more than only assigning > predefined timezone labels. > > For example: > > $ TZ='CET-1' date > Mon Apr 23 18:34:14 CET 2007 > > redefines CET to use an offset of one hour during all the year. > > $ TZ='CET-1CEST,M3.5.0/2:00,M10.5.0/3:00' date > Mon Apr 23 19:35:46 CEST 2007 > > would even produce a somewhat correct date representation, though you > seem to not want that :) > > But keep in mind that I don't know if uClibc's TZ parsing can > interpret that. It's simply untested.
I have used the uClibc implementation in a variety of string configurations (including the ones above) and it seems to work as advertised. I used this as a reference: http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html > > MfG, JBG _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
