* nstrftime test failure on Android
@ 2023-01-17 14:43 Bruno Haible
2023-01-17 22:19 ` Paul Eggert
0 siblings, 1 reply; 2+ messages in thread
From: Bruno Haible @ 2023-01-17 14:43 UTC (permalink / raw)
To: bug-gnulib
Hi Paul,
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?
Bruno
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nstrftime test failure on Android
2023-01-17 14:43 nstrftime test failure on Android Bruno Haible
@ 2023-01-17 22:19 ` Paul Eggert
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2023-01-17 22:19 UTC (permalink / raw)
To: Bruno Haible, bug-gnulib
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-17 22:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-17 14:43 nstrftime test failure on Android Bruno Haible
2023-01-17 22:19 ` Paul Eggert
Code repositories for project(s) associated with this public inbox
https://public-inbox.org/mirrors/gnulib.git/
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).