bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Bruno Haible <bruno@clisp.org>, bug-gnulib@gnu.org
Subject: Re: nstrftime test failure on Android
Date: Tue, 17 Jan 2023 14:19:10 -0800	[thread overview]
Message-ID: <dd858b1a-60f4-2ccb-ff8c-c0f59de473d6@cs.ucla.edu> (raw)
In-Reply-To: <6358087.8xYSi2aK3b@nimes>

On 1/17/23 06:43, Bruno Haible wrote:
> On Android 11, within Termux, I see this test failure:
> FAIL: test-nstrftime
> ====================
> PST8PDT,M3.2.0,M11.1.0: expected "1969-12-31 16:00:00 -0800 (PST)", got "1969-12-31 17:00:00 -0700 (PDT)"
> CET-1CEST,M3.5.0,M10.5.0/3: expected "1970-01-01 01:00:00 +0100 (CET)", got "1970-01-01 02:00:00 +0200 (CEST)"
> FAIL test-nstrftime (exit status: 1)
> Before I go investigating this, I'd like to know: Are the returned strings
> really wrong? That is, since CEST is 1 hour ahead of CET, 02:00:00 CEST is
> the same as 01:00:00 CET. Or is the problem that CEST should not appear
> because DST is only in the summer, not in January?

Yes, the latter is the problem. The ",M3.5.0,M10.5.0/3" means DST occurs 
from March's last Sunday at 02:00 until October's last Sunday at 03:00.

      reply	other threads:[~2023-01-17 22:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17 14:43 nstrftime test failure on Android Bruno Haible
2023-01-17 22:19 ` Paul Eggert [this message]

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:

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

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

  git send-email \
    --in-reply-to=dd858b1a-60f4-2ccb-ff8c-c0f59de473d6@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \


* 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).