unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <INVALID.NOREPLY@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>, bug-guile@gnu.org
Subject: [bug #24130] `strftime' broken on AIX and Solaris
Date: Mon, 11 May 2009 20:37:15 +0000	[thread overview]
Message-ID: <20090511-203714.sv15145.88396@savannah.gnu.org> (raw)
In-Reply-To: <20080825-083850.sv15145.65306@savannah.gnu.org>


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/





  reply	other threads:[~2009-05-11 20:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-25  8:37 [bug #24130] `strftime' broken on AIX and Solaris Ludovic Courtès
2008-08-25  8:38 ` Ludovic Courtès
2009-05-11 20:37   ` Ludovic Courtès [this message]
2009-05-11 22:16     ` [bug #24130] `strftime' broken on AIX, Tru64, " Ludovic Courtès
2010-12-17  1:12       ` Susan
2011-04-19 22:30         ` anonymous
2011-08-01  4:30           ` anonymous

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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090511-203714.sv15145.88396@savannah.gnu.org \
    --to=invalid.noreply@gnu.org \
    --cc=bug-guile@gnu.org \
    --cc=ludo@gnu.org \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).