Ludovic Courtès írta:
On Cygwin it is caused by incorrect TZ offset setting in
libguile/stime.c, line 682.
What is "it"? I don't remember seeing such bug reports on Cygwin, only
on Solaris and HP-UX (IIRC).
(strftime "%z" (localtime ...)) returns constant "+0000",
because (on cygwin) libc's strftime takes offset from TZ envvar, and
guile sets it to 0 in scm_strftime.
excerpt from libguile/stime.c:
/* it's not required that the TZ setting be correct, just that
it has the right name. so try something like TZ=EST0.
using only TZ=EST would be simpler but it doesn't work on
some OSs, e.g., Solaris. */
s