From unknown Mon Jun 16 23:31:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45608 <45608@debbugs.gnu.org> To: bug#45608 <45608@debbugs.gnu.org> Subject: Status: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" Reply-To: bug#45608 <45608@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:31:25 +0000 retitle 45608 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" reassign 45608 emacs submitter 45608 Jean Louis severity 45608 normal tag 45608 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 06:04:09 2021 Received: (at submit) by debbugs.gnu.org; 2 Jan 2021 11:04:09 +0000 Received: from localhost ([127.0.0.1]:52512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvehd-0006Rn-K5 for submit@debbugs.gnu.org; Sat, 02 Jan 2021 06:04:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:36612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvehb-0006Rf-SA for submit@debbugs.gnu.org; Sat, 02 Jan 2021 06:04:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvehb-0007Lu-NT for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 06:04:07 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:46277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvehY-000298-JC for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 06:04:06 -0500 Received: from localhost ([::ffff:41.210.154.162]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000295450.000000005FF052FD.000058A2; Sat, 02 Jan 2021 04:03:24 -0700 Date: Sat, 02 Jan 2021 12:03:16 +0100 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: Received-SPF: pass client-ip=217.170.207.13; envelope-from=support1@rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) (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. In GNU Emacs 28.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars) of 2021-01-01 built on protected.rcdrun.com Repository revision: 30a1d5da7a43d51a97cbe8d91add9a26dd99df90 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11907000 System Description: Hyperbola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs --with-modules --with-x-toolkit=lucid PKG_CONFIG_PATH=/home/data1/protected/GNUstep/Library/Libraries/pkgconfig:/usr/lib/pkgconfig' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Lisp Interaction Memory information: ((conses 16 1107464 508288) (symbols 48 47280 1) (strings 32 278217 50104) (string-bytes 1 7843359) (vectors 16 110520) (vector-slots 8 2338233 151130) (floats 8 846 1198) (intervals 56 48809 42517) (buffers 984 206)) -- Thanks, Jean Louis ⎔ λ 🄯 𝍄 𝌡 𝌚 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 06:32:47 2021 Received: (at 45608) by debbugs.gnu.org; 2 Jan 2021 11:32:47 +0000 Received: from localhost ([127.0.0.1]:52583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvf9L-0007Jm-Lj for submit@debbugs.gnu.org; Sat, 02 Jan 2021 06:32:47 -0500 Received: from outbound.soverin.net ([116.202.65.218]:50133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvf9J-0007JX-1B for 45608@debbugs.gnu.org; Sat, 02 Jan 2021 06:32:46 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id CFB616021B; Sat, 2 Jan 2021 11:32:38 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1609587158; bh=dIbBRx+i9c0UdtR53B2HRYQnbqwfv+IUV3hyc+iDyF0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pYU6WSvabygto5069GpsNE6tYtXmQ3EvGGMmc+nVBl/0CpO/neYwaVjt7njLzIOxe SEYWTVBtfib5l2fxQLEB/0Gd8PyBw90aycRHjUDD9oRCcmLS4pPx3ioOt712mWj/Sp xrDKOqhh4xJL8RCkgUg8d+ioFdX31RpJ86ajcrnYOdOO8os206F7CtkgvUxgnP547h LYoml9JCGba1VTfVWy6QV1DR9GlEFSWtbHa9Rl97kuy+rxynUHnfaKeo6GOX64O91c s5/ZucalMxzTI947iv0JhLyyJnfelP2dtZh0FKT1MsGNWeCttppE/q1E1uubsH1D69 Jf1fJ9y0tr0Mw== Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 8322E202981BF3; Sat, 2 Jan 2021 11:32:36 +0000 (GMT) Date: Sat, 2 Jan 2021 11:32:36 +0000 From: Alan Third To: Jean Louis Subject: Re: bug#45608: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" Message-ID: Mail-Followup-To: Alan Third , Jean Louis , 45608@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45608 Cc: 45608@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, Jan 02, 2021 at 12:03:16PM +0100, Jean Louis wrote: > > (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. You'd best take that up with ISO, as this is how ISO dates work. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 06:33:34 2021 Received: (at 45608) by debbugs.gnu.org; 2 Jan 2021 11:33:34 +0000 Received: from localhost ([127.0.0.1]:52587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvfA5-0007LE-UI for submit@debbugs.gnu.org; Sat, 02 Jan 2021 06:33:34 -0500 Received: from quimby.gnus.org ([95.216.78.240]:38378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvfA3-0007Kz-Uz for 45608@debbugs.gnu.org; Sat, 02 Jan 2021 06:33:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sjxGMHYG6RVBvT9SsWanvvviINmNj7485SYww6oDRnM=; b=oQDsR5/gsXxglF2GAFvgMGjrVI kNSmBgkbDskWMQZ9N7VxX3ATJlxNeUpYEtondvJ6FhjWbhtOWojWmYdsG3e9MnXxmm9pxXJegHzma /w+e2EmAxMJ827a7IobI3Kn9x4wEJqCR1AV9a/GU6QI2c8Xf0GUGPsGEXi6NUGyI261I=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvf9s-0001Yz-0Z; Sat, 02 Jan 2021 12:33:25 +0100 From: Lars Ingebrigtsen To: Jean Louis Subject: Re: bug#45608: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVXU6dMSJg/QZI2 OYdJR4z////SlX8hAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UBAgsgMkwyW2kAAAF7SURBVDjLZVOJ kcMwCIS5K4DF1wBSBbEqSPov6kCfsUMmM/auBOyCiYgJYKgB1ONoEbSCZT/G0w8JUw5GG+FpBHLB H12ESDovLAyKYkwZ5/g5AINmdNRlBVqpdA/BG3paTQRHhYANDU2zDleJP/P8L30dtnEnPI+82ZzM uaNRwdJ7dQXPtTzQm1crY13Kb2hbcCLkF1VbexAsCsVxPoiAiyuzdiPcUffTDfr4DEfETIefCBHL SDcAqvMtvO7ziAtatK6uOIjYiY7XOovHDQZP3I566ZCJjiilbIHeCEV3O27ji6H0ZH5lo+45TMuI vj4Y8qzEf3Q0F66Hm9KPb3spt5Lw60agpX0R5mg23Ymo20ubV7kkoH82IS3vMD0EzsE/lPO2ZjQT GxZfRbdK1py8KBXkEFoctUeozQrS7YspD/tK63rO6XT3MQwbzpSzkuz81uewd3cTGqb70S939e7i bNv3sxznWZOJlw8WIx0en2nms7upT7DX6rk0/8JbU9XLR/uBAAAAJXRFWHRkYXRlOmNyZWF0ZQAy MDIxLTAxLTAyVDExOjMyOjUwKzAwOjAw3pgnogAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMS0w MlQxMTozMjo1MCswMDowMK/Fnx4AAAAASUVORK5CYII= X-Now-Playing: Colored Music's _Individual Beauty_: "After The Intelligence" Date: Sat, 02 Jan 2021 12:33:18 +0100 In-Reply-To: (Jean Louis's message of "Sat, 02 Jan 2021 12:03:16 +0100") Message-ID: <87eej38tfl.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Jean Louis writes: > (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 n [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45608 Cc: 45608@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jean Louis writes: > (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. https://en.wikipedia.org/wiki/ISO_week_date "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." Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 06:33:48 2021 Received: (at control) by debbugs.gnu.org; 2 Jan 2021 11:33:48 +0000 Received: from localhost ([127.0.0.1]:52590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvfAK-0007Li-7i for submit@debbugs.gnu.org; Sat, 02 Jan 2021 06:33:48 -0500 Received: from quimby.gnus.org ([95.216.78.240]:38402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvfAI-0007LU-HG for control@debbugs.gnu.org; Sat, 02 Jan 2021 06:33:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VTutexbP+LiYI6RdraKfojhFDUls2OY2g401zr1VvkY=; b=A1sFinbNQOmXU0zsKRxbG4Vc0C YrF6YW7e7b+6XvQ7zZcdmQIC90/YUau1W3c29d9IpBiL09zlZFSqj53Zbd56k9tjvOgU3qH6Wl1Lp QCZgnnnkPq/Ti96c3J4Uj9rCvN0CG4gvdrXBZjURF6Wksh80AqKHU81k8woWuA/9iIh0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvfAA-0001ZB-ON for control@debbugs.gnu.org; Sat, 02 Jan 2021 12:33:40 +0100 Date: Sat, 02 Jan 2021 12:33:37 +0100 Message-Id: <87czyn8tf2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45608 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 45608 notabug close 45608 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 45608 notabug close 45608 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 06:41:03 2021 Received: (at 45608) by debbugs.gnu.org; 2 Jan 2021 11:41:03 +0000 Received: from localhost ([127.0.0.1]:52622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvfHL-0007Xe-D9 for submit@debbugs.gnu.org; Sat, 02 Jan 2021 06:41:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvfHJ-0007Ww-GZ for 45608@debbugs.gnu.org; Sat, 02 Jan 2021 06:41:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52292) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvfHD-0000NW-UB; Sat, 02 Jan 2021 06:40:55 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2642 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kvfHD-0005wF-9I; Sat, 02 Jan 2021 06:40:55 -0500 Date: Sat, 02 Jan 2021 13:40:41 +0200 Message-Id: <83wnwvefd2.fsf@gnu.org> From: Eli Zaretskii To: Jean Louis In-Reply-To: (message from Jean Louis on Sat, 02 Jan 2021 12:03:16 +0100) Subject: Re: bug#45608: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45608 Cc: 45608@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 02 Jan 2021 12:03:16 +0100 > From: Jean Louis > > (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. When a week starts in year Y and ends in year Y+1, what would you want to see instead? Saying "week 1 of 2021" would be wrong for the same reason. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 07:42:52 2021 Received: (at 45608) by debbugs.gnu.org; 2 Jan 2021 12:42:52 +0000 Received: from localhost ([127.0.0.1]:53884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvgFA-00087M-DV for submit@debbugs.gnu.org; Sat, 02 Jan 2021 07:42:52 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:51883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvgF7-00087C-V9 for 45608@debbugs.gnu.org; Sat, 02 Jan 2021 07:42:50 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4D7M48475Cz1qs42; Sat, 2 Jan 2021 13:42:48 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4D7M482Mb3z1qs5P; Sat, 2 Jan 2021 13:42:48 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id twFgjZBzt7F8; Sat, 2 Jan 2021 13:42:47 +0100 (CET) X-Auth-Info: JrljRXJX51WUPCtfjomZSjBC6lhQQueLO/8UHJMGB9jFIRRJHGMBYyQUTpOc85nx Received: from igel.home (ppp-46-244-172-221.dynamic.mnet-online.de [46.244.172.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 2 Jan 2021 13:42:47 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 3DB842C320D; Sat, 2 Jan 2021 13:42:47 +0100 (CET) From: Andreas Schwab To: Jean Louis Subject: Re: bug#45608: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" References: X-Yow: OKAY!! Turn on the sound ONLY for TRYNEL CARPETING, FULLY-EQUIPPED R.V.'S and FLOATATION SYSTEMS!! Date: Sat, 02 Jan 2021 13:42:47 +0100 In-Reply-To: (Jean Louis's message of "Sat, 02 Jan 2021 12:03:16 +0100") Message-ID: <8735zjtsqg.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 45608 Cc: 45608@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On Jan 02 2021, Jean Louis wrote: > the year has 52 weeks normally That is not possible, as 52 weeks can only cover 364 days. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 12:18:06 2021 Received: (at 45608) by debbugs.gnu.org; 2 Jan 2021 17:18:06 +0000 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 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 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== 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 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 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 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 MIME-Version: 1.0 Message-ID: Date: Sat, 2 Jan 2021 09:17:52 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen , Jean Louis Subject: RE: bug#45608: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" References: <87eej38tfl.fsf@gnus.org> 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)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45608 Cc: 45608@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > (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. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 02 13:04:56 2021 Received: (at 45608) by debbugs.gnu.org; 2 Jan 2021 18:04:56 +0000 Received: from localhost ([127.0.0.1]:60817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvlGq-0005ka-HZ for submit@debbugs.gnu.org; Sat, 02 Jan 2021 13:04:56 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:52851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvlGp-0005kM-MD for 45608@debbugs.gnu.org; Sat, 02 Jan 2021 13:04:56 -0500 Received: from localhost ([::ffff:41.210.141.217]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000295449.000000005FF0B5BC.00007C13; Sat, 02 Jan 2021 11:04:43 -0700 Date: Sat, 2 Jan 2021 21:00:30 +0300 From: Jean Louis To: Drew Adams Subject: Re: bug#45608: 28.0.50; calendar-iso-date-string: "Day 6 of week 53 of 2020" Message-ID: References: <87eej38tfl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0 (3d08634) (2020-11-07) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45608 Cc: Lars Ingebrigtsen , 45608@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alright, thank you all for references. ISO date was kind of interesting in communication with people I know and I used it for quite a long time. I will now start using normalized version like: (calendar-date-string (calendar-current-date)) "Saturday, January 2, 2021" Jean From unknown Mon Jun 16 23:31:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 31 Jan 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator