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