From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2222 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: localtime() isn't local Date: Fri, 26 Oct 2012 17:54:08 -0400 Message-ID: <20121026215408.GB254@brightrain.aerifal.cx> References: <20121026075736.GD16801@mahoro.ispfabriek.nl> <20121026081507.GF24157@port70.net> <20121026083405.GE16801@mahoro.ispfabriek.nl> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1351288461 10803 80.91.229.3 (26 Oct 2012 21:54:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2012 21:54:21 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2223-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 26 23:54:30 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TRrrG-0001Qp-O9 for gllmg-musl@plane.gmane.org; Fri, 26 Oct 2012 23:54:26 +0200 Original-Received: (qmail 9861 invoked by uid 550); 26 Oct 2012 21:54:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 9853 invoked from network); 26 Oct 2012 21:54:18 -0000 Content-Disposition: inline In-Reply-To: <20121026083405.GE16801@mahoro.ispfabriek.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2222 Archived-At: 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