From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11890 Path: news.gmane.org!.POSTED!not-for-mail From: jacob@welshcomputing.com Newsgroups: gmane.linux.lib.musl.general Subject: Re: strftime %Z returning empty string Date: Thu, 31 Aug 2017 17:12:23 -0400 (EDT) Message-ID: References: <59A87527.3070700@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1504213967 31346 195.159.176.226 (31 Aug 2017 21:12:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2017 21:12:47 +0000 (UTC) User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) To: musl@lists.openwall.com Original-X-From: musl-return-11903-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 31 23:12:41 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dnWlL-0007Nb-0y for gllmg-musl@m.gmane.org; Thu, 31 Aug 2017 23:12:31 +0200 Original-Received: (qmail 9570 invoked by uid 550); 31 Aug 2017 21:12:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 9552 invoked from network); 31 Aug 2017 21:12:35 -0000 Original-Sender: jwelsh@ny1.eemta.org In-Reply-To: <59A87527.3070700@adelielinux.org> Xref: news.gmane.org gmane.linux.lib.musl.general:11890 Archived-At: On Thu, 31 Aug 2017, A. Wilcox wrote: > %Z is a glibc extension. I don't believe musl supports it. http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html Z Replaced by the timezone name or abbreviation, or by no bytes if no timezone information exists. [tm_isdst] That "if no timezone information exists" is rather useless in my eyes. Exists where? Later text suggests that the TZ environment variable is relevant. J. Welsh