Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121026215408.GB254@brightrain.aerifal.cx>
Date: Fri, 26 Oct 2012 17:54:08 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: localtime() isn't local

On Fri, Oct 26, 2012 at 10:34:06AM +0200, Yoran Heling wrote:
> > you may want to try
> > 
> > TZ=CEST ./localtime-musl
> 
> Ah, I didn't realize that the use of /etc/localtime wasn't part of
> POSIX. I don't have a TZ variable set, so that explains the output.
> TZ=CEST didn't work, but TZ=CEST-2 did the trick.
> 
> This is quite a bummer, though. I use musl to create static binaries for
> Linux, and every glibc-based distribution (i.e. the vast majority) uses
> /etc/localtime rather than the TZ variable. :-(
> 
> Thanks for the clarification.

And thanks for voicing that this is omission is an issue that's
important to you. It's been on my mind for a while, just at low
priority; knowing that somebody cares about it will move it to the
front of my agenda. At the moment I'm trying to get things in order
for a release, but after that I'll take a serious look at what's
involved in adding zoneinfo support.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.