[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nstrftime test failure on Android

From: Paul Eggert
Subject: Re: nstrftime test failure on Android
Date: Tue, 17 Jan 2023 14:19:10 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]