From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: localtime() isn't local
Date: Fri, 26 Oct 2012 17:54:08 -0400 [thread overview]
Message-ID: <20121026215408.GB254@brightrain.aerifal.cx> (raw)
In-Reply-To: <20121026083405.GE16801@mahoro.ispfabriek.nl>
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
prev parent reply other threads:[~2012-10-26 21:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 7:57 Yoran Heling
2012-10-26 8:15 ` Szabolcs Nagy
2012-10-26 8:34 ` Yoran Heling
2012-10-26 12:00 ` Szabolcs Nagy
2012-10-26 12:26 ` Rich Felker
2012-10-26 14:37 ` Isaac Dunham
2012-10-26 16:25 ` Szabolcs Nagy
2012-10-26 17:25 ` Isaac Dunham
2012-10-26 17:41 ` Rich Felker
2012-10-26 21:54 ` Rich Felker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121026215408.GB254@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).