From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6276 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Error in interpreting posix timezone TZ environment variable by musl-libc Date: Wed, 8 Oct 2014 16:59:18 -0400 Message-ID: <20141008205918.GS23797@brightrain.aerifal.cx> References: <20141008194429.GG17442@localhost> 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 1412801985 15532 80.91.229.3 (8 Oct 2014 20:59:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2014 20:59:45 +0000 (UTC) Cc: musl@lists.openwall.com To: vlse Original-X-From: musl-return-6289-gllmg-musl=m.gmane.org@lists.openwall.com Wed Oct 08 22:59:38 2014 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 1XbyKg-0000CQ-CA for gllmg-musl@plane.gmane.org; Wed, 08 Oct 2014 22:59:38 +0200 Original-Received: (qmail 4081 invoked by uid 550); 8 Oct 2014 20:59:36 -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 4073 invoked from network); 8 Oct 2014 20:59:36 -0000 Content-Disposition: inline In-Reply-To: <20141008194429.GG17442@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6276 Archived-At: On Thu, Oct 09, 2014 at 01:14:29AM +0530, vlse wrote: > musl-libc stable 1.0.3 has wrong implementation of posix timezone TZ environmental variable. > For e.g. if I set TZ="IST-5:30" and use busybox date command > compiled with musl-libc it's show One hour early than actual. Same > with c code using asctime from musl-libc. > > Any known fix. Can you show the expected and actual output of the date command, both with TZ=IST-5:30 and TZ=GMT? Rich