From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 3B8691F47C for ; Tue, 17 Jan 2023 22:19:25 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=cs.ucla.edu header.i=@cs.ucla.edu header.a=rsa-sha256 header.s=78364E5A-2AF3-11ED-87FA-8298ECA2D365 header.b=uTxXPkL0; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHuIY-0006GQ-Mu; Tue, 17 Jan 2023 17:19:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHuIX-0006G3-7n for bug-gnulib@gnu.org; Tue, 17 Jan 2023 17:19:17 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHuIU-0001Fz-Eo for bug-gnulib@gnu.org; Tue, 17 Jan 2023 17:19:16 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2259616004F; Tue, 17 Jan 2023 14:19:11 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id zwBEPWVd0alH; Tue, 17 Jan 2023 14:19:10 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 57CD5160060; Tue, 17 Jan 2023 14:19:10 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 57CD5160060 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1673993950; bh=JLRcCVefiCrWhUsn4VhS7uOB0ell377dduPqOkpGXWc=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type: Content-Transfer-Encoding; b=uTxXPkL0tEN9ei0oO8F6e4ZfsICnWjtWNxh6FdmhyRDFHsposWf8jOED7veRcxyHK SjrRAt7JliJYjgjgx6W/QMqQcs7HbEM2D8n+sdeGMspHhk3DIaNlfvv4ESIeYsJN5U LaysgHk5Ngr7QFc0kCdrh1gaL+HyhACRMEClgBLs= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Szi5FoF3_9RR; Tue, 17 Jan 2023 14:19:10 -0800 (PST) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 3BACA16005E; Tue, 17 Jan 2023 14:19:10 -0800 (PST) Message-ID: Date: Tue, 17 Jan 2023 14:19:10 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: nstrftime test failure on Android Content-Language: en-US To: Bruno Haible , bug-gnulib@gnu.org References: <6358087.8xYSi2aK3b@nimes> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <6358087.8xYSi2aK3b@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@cs.ucla.edu; helo=zimbra.cs.ucla.edu X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.097, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org 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.