From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#45608: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" Date: Sat, 2 Jan 2021 09:17:52 -0800 (PST) Message-ID: References: <87eej38tfl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14839"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45608@debbugs.gnu.org To: Lars Ingebrigtsen , Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 02 18:19:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvkYd-0003hF-Er for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jan 2021 18:19:15 +0100 Original-Received: from localhost ([::1]:59558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvkYc-0005ty-7H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jan 2021 12:19:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvkYQ-0005tD-EX for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 12:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvkYQ-0002OX-5c for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 12:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kvkYQ-0004dY-21 for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 12:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2021 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45608 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 45608-submit@debbugs.gnu.org id=B45608.160960788617579 (code B ref 45608); Sat, 02 Jan 2021 17:19:01 +0000 Original-Received: (at 45608) by debbugs.gnu.org; 2 Jan 2021 17:18:06 +0000 Original-Received: from localhost ([127.0.0.1]:60660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvkXW-0004ZN-E4 for submit@debbugs.gnu.org; Sat, 02 Jan 2021 12:18:06 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:39000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvkXU-0004YT-U6 for 45608@debbugs.gnu.org; Sat, 02 Jan 2021 12:18:05 -0500 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 102HEuBw177321; Sat, 2 Jan 2021 17:17:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=2CoOJT10edAFu+oh336JcPU01Q29wN6p/hL/XCDXi0Y=; b=jM1n0MwsdFVvEIQHtgL4OpxiWDAV/WVARmanGzC9M8hgbV8VxIqH+SifpoNIP63BmKYU /XDgPWT8yjVTqumxIjlPhZ2LzJI7a1ZpU4tQjJoiA8zJu9xYCs00oGTB21Q6dRA0h/tm Vv7Cy80Xer9TtkI2yLrmeSdPEcqqiuBvlZ8jQIb4TJlNSaEaWzpvPAHmgKrcDzHyNxL1 emZOfpZVdbSVEFC6fBiEKs/yQyFrWM3MCpXLUJJKU0WkmO6/Kd0DYqdywCReQNMcInGV NiK90BGn28v8nq5IvmLwqi4mv7BgWM3FOg/TigEww534e1eo61vtKWk9bh5iZ8dgsJCa oQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 35tgskgr43-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 02 Jan 2021 17:17:59 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 102HAZtT162723; Sat, 2 Jan 2021 17:17:58 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 35tqwk583r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 02 Jan 2021 17:17:58 +0000 Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 102HHrSl010474; Sat, 2 Jan 2021 17:17:53 GMT In-Reply-To: <87eej38tfl.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5095.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9852 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 bulkscore=0 adultscore=0 spamscore=0 malwarescore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101020108 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9852 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 malwarescore=0 phishscore=0 impostorscore=0 bulkscore=0 clxscore=1011 priorityscore=1501 lowpriorityscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101020108 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197204 Archived-At: > > (calendar-iso-date-string) gives following information on this day: > > "Day 6 of week 53 of 2020" which I consider wrong as it is 2021 and > > the year has 52 weeks normally, the days at begin of the new year > > should not be considered past year. >=20 > https://urldefense.com/v3/__https://en.wikipedia.org/wiki/ISO_week_date__= ;!!G > qivPVa7Brio!LxlLxRzS6V8fuHzPVAnAczqQvPR708E_qdx6x3He2wfh95sRUnSwi7xVfdtCW= Dxz$ >=20 > "An ISO week-numbering year (also called ISO year informally) has 52 or > 53 full weeks. That is 364 or 371 days instead of the usual 365 or 366 > days. The extra week is sometimes referred to as a leap week, although > ISO 8601 does not use this term. Weeks start with Monday. Each week's > year is the Gregorian year in which the Thursday falls. The first week > of the year, hence, always contains 4 January. ISO week year numbering > therefore slightly deviates from the Gregorian for some days close to 1 > January." Very cool. Interesting. Thanks for citing that, Lars.