On Thu, May 1, 2014 at 3:56 PM, Josiah Worcester <josiahw@gmail.com> wrote:
It looks as though glibc and musl have different ideas of what the timezone is. Could you print out the contents of the $TZ variable, and if /etc/localtime is a symlink, could you tell us where that points to?


Ah. Quick look at the musl source makes it clear what's going on. musl does not look at /etc/localtime for the time zone. If TZ is unset it defaults to UTC. Try export TZ=your-zoneinfo-timezone.

(relatedly, it is possibly desirable to have the timezone code examine /etc/localtime)