On Sat 16 Jul 2016 13:24, Eli Zaretskii <e...@gnu.org> writes:

> From f55f1e8de40b38cc745a930bf5a374c73d3c67ce Mon Sep 17 00:00:00 2001
> From: Eli Zaretskii <e...@gnu.org>
> Date: Sat, 16 Jul 2016 14:22:06 +0300
> Subject: [PATCH] Fix 'strftime' for MS-Windows
>
> * libguile/stime.c (scm_strftime) [__MINGW32__]: Don't use the
> trick of appending "0" to the time-zone string, Windows runtime
> doesn't support that.
> +#ifndef __MINGW32__
> +    /* Don't do this for MinGW: it only supports fixed-format
> +       TTTnnnDDD TZ specifications, and gets confused if a zero is
> +       appended.  */

This patch disables the setzone() call entirely; seems to be the wrong
thing, given that MinGW doesn't appear to have struct tm->tm_zone.  What
if we just disable appending the 0 to the time zone?

Andy

Reply via email to