[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #24130] `strftime' broken on AIX and Solaris
From: |
Ludovic Courtès |
Subject: |
[bug #24130] `strftime' broken on AIX and Solaris |
Date: |
Mon, 11 May 2009 20:37:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.9) Gecko/2009043014 IceCat/3.0.9-g1 |
Follow-up Comment #2, bug #24130 (project guile):
On Tru64 5.1b, we get:
#v+
FAIL: strftime: C99 %z format: GMT
FAIL: strftime: C99 %z format: EST+5
#v-
More precisely:
#v+
(putenv "TZ=GMT+0")
(tzset)
(let ((tm (localtime 86400)))
(strftime "%z" tm))
=> "GMT"
#v-
and:
#v+
(putenv "TZ=EST+5")
(tzset)
(let ((tm (localtime 86400)))
(strftime "%z" tm))
=> "EST"
#v-
The feature test in `time.test' goes like this:
#v+
(strftime "%z" (gmtime 0))
=> "EST"
#v-
Ludo'.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24130>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #24130] `strftime' broken on AIX and Solaris,
Ludovic Courtès <=