[uClibc] TZ environment values for glibc timezones

Erik Andersen andersen at codepoet.org
Wed Jun 15 16:28:10 UTC 2005

On Wed Jun 15, 2005 at 10:29:39AM -0500, Mike Primm wrote:
> I'm in the process of  converting an existing embedded application from 
> being glibc-based to uclibc-based, and was hoping for some help with 
> dealing with the mapping of the TZ environment variable.  Specifically, 
> I fully understand the encoding difference (i.e. using the POSIX based 
> encloding rule in the TZ variable for daylight savings time encoding and 
> the like), but what I don't particularly look forward to is the 
> laborious and error prone process of producing the mapping from a couple 
> hundred file-name based timezone idenfitiers (i.e. America/Chicago, 
> Asia/Tehran, etc, etc) to the correct POSIX TZ encoding.  Has anyone 
> using uclibc already done this mapping, produced a tool to crawl the 
> glibc zoneinfo and generate this mapping, or any other solution?

To my knowledge nobody has done this.  Contributions of such a
tool and/or data set would be appreciated.


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

More information about the uClibc mailing list