From unknown Thu Aug 14 21:56:26 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#57834 <57834@debbugs.gnu.org> To: bug#57834 <57834@debbugs.gnu.org> Subject: Status: Date Command Anomaly Reply-To: bug#57834 <57834@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:56:26 +0000 retitle 57834 Date Command Anomaly reassign 57834 coreutils submitter 57834 Martin Hughes severity 57834 normal tag 57834 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 11:19:55 2022 Received: (at submit) by debbugs.gnu.org; 15 Sep 2022 15:19:55 +0000 Received: from localhost ([127.0.0.1]:58898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYqeh-00051h-9J for submit@debbugs.gnu.org; Thu, 15 Sep 2022 11:19:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:34146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYqda-0004zr-65 for submit@debbugs.gnu.org; Thu, 15 Sep 2022 11:18:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYqdZ-0005ZM-Ay for bug-coreutils@gnu.org; Thu, 15 Sep 2022 11:18:45 -0400 Received: from mailomta1-re.btinternet.com ([213.120.69.94]:36238 helo=re-prd-fep-049.btinternet.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYqdW-00034G-Pc for bug-coreutils@gnu.org; Thu, 15 Sep 2022 11:18:45 -0400 Received: from re-prd-rgout-001.btmx-prd.synchronoss.net ([10.2.54.4]) by re-prd-fep-049.btinternet.com with ESMTP id <20220915151839.UBMR3069.re-prd-fep-049.btinternet.com@re-prd-rgout-001.btmx-prd.synchronoss.net> for ; Thu, 15 Sep 2022 16:18:39 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btmx201904; t=1663255119; bh=MrtqMTSXaejyjd/ZKJYlAbnpdiyLelc6PUV5pOsMqdc=; h=To:Message-ID:Subject:MIME-Version:From:Date; b=ZkVf/RebsnHfXPvfjl7mt/UfRocxwa4uj+IarFgtSs95SSxR09Jrba4Y8bvpZOcvdxJ5T1DqbAIAjfPTLI14pMIdS0vBwv2TQ+yebb1xSBDrAVlYqxkXmJIZB3m3GXfIzxseFeqOZkIgUDemhHrkfX64iAoGXZrPhelONdaBbOKTRlSj6CmY6cdArcMMHQ9n1qXBCaHKYqSMVDYXPTfsAKw3PYuK60x/B6oeDmBSd+j/UuoGmqet27/RazqcJ6u/MD1zZwaiLws37DEyR06eAiOvp3hmX/0lVMyrvoAjn4xY/5/ExM1/qNUr5WrT0uOmvuyVtCntoi5dyP0UUEc/og== Authentication-Results: btinternet.com; none X-SNCR-Rigid: 613A8CC339BA93D4 X-OWM-Env-Sender: martin.j.hughes@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvfedrfedukedgkeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepvffkufggtggfihfhffesrgdtregstderjeenucfhrhhomhepofgrrhhtihhnucfjuhhghhgvshcuoehmrghrthhinhdrjhdrhhhughhhvghssegsthhinhhtvghrnhgvthdrtghomheqnecuggftrfgrthhtvghrnhepfeehteffledvueeliedvfeefteffieejudelkeettdevfeevhfdvheduheehtefhnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppedutddrvddrheegrdelhedpkeeirdduheehrddvudekrddujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheprhgvqdhprhguqdhugihfvghpqddtudegrdgsthhmgidqphhrugdrshihnhgthhhrohhnohhsshdrnhgvthdpihhnvghtpedutddrvddrheegrdelhedpmhgrihhlfhhrohhmpehmrghrthhinhdrjhdrhhhughhhvghssegsthhinhhtvghrnhgvthdrtghomhdpnhgspghrtghpthhtohepuddprhgtphhtthhopegsuhhgqdgtohhrvghuthhilhhssehgnhhurdhorhhg X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-SNCR-hdrdom: btinternet.com Received: from re-prd-uxfep-014.btmx-prd.synchronoss.net (10.2.54.95) by re-prd-rgout-001.btmx-prd.synchronoss.net (5.8.716.04) id 613A8CC339BA93D4 for bug-coreutils@gnu.org; Thu, 15 Sep 2022 16:18:39 +0100 Received: from [86.155.218.175] by email.bt.com with HTTP; Thu, 15 Sep 2022 16:18:39 +0100 To: bug-coreutils@gnu.org Message-ID: <254849d.41e75.18341bb0518.Webtop.95@btinternet.com> Subject: Date Command Anomaly MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1543256_309390968.1663255119124" User-Agent: OWM Mail 3 X-SID: 95 X-Originating-IP: [86.155.218.175] From: Martin Hughes Date: Thu, 15 Sep 2022 16:18:39 +0100 (BST) Received-SPF: pass client-ip=213.120.69.94; envelope-from=martin.j.hughes@btinternet.com; helo=re-prd-fep-049.btinternet.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DEAR_SOMETHING=1.973, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 15 Sep 2022 11:19:53 -0400 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: -0.6 (/) ------=_Part_1543256_309390968.1663255119124 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Dear Sir, I have stumbled across this anomaly whilst processing a series of dates.=20 I have not found any other legal date combination that generates this=20 error. Perl time facilities seem to be affected by this too. mjh@carnaby:~> date --date=3D"2022/03/27 00:00:00" Sun 27 Mar 00:00:00 GMT 2022 mjh@carnaby:~> date --date=3D"2022/03/27 01:00:00" date: invalid date =E2=80=982022/03/27 01:00:00=E2=80=99 mjh@carnaby:~> date --date=3D"2022/03/27 02:00:00" Sun 27 Mar 02:00:00 BST 2022 The version of date is: mjh@carnaby:~> date --version date (GNU coreutils) 8.29 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later=20 . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. The operating system is opensuse leap 15.2: Linux version 5.3.18-lp152.106-default (geeko@buildhost) (gcc version=20 7.5.0 (SUSE Linux)) #1 SMP Mon Nov 22 08:38:17 UTC 2021 (52078fe) Martin Hughes ------=_Part_1543256_309390968.1663255119124 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Dear Sir,

=

I have stumbled across this anomaly whilst processing a series of dates.= I have not found any other legal date combination that generates this erro= r. Perl time facilities seem to be affected by this too.


=

mjh@carnaby:~> date --date=3D"2022/03/27 00:00:00"

S= un 27 Mar 00:00:00 GMT 2022


mjh@carnaby:~> date --date= =3D"2022/03/27 01:00:00"
date: invalid date =E2=80=982022/03/2= 7 01:00:00=E2=80=99


mjh@carnaby:~> date --date=3D&q= uot;2022/03/27 02:00:00"
Sun 27 Mar 02:00:00 BST 2022


The version of date is:

mjh@carnaby:~> date --version
date (GN= U coreutils) 8.29
Copyright (C) 2017 Free Software Foundation, Inc.
L= icense GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.= html>.
This is free software: you are free to change and redistribute= it.
There is NO WARRANTY, to the extent permitted by law.

Writte= n by David MacKenzie.


The operating system is opensuse= leap 15.2:

Linux version 5.3.18-lp152.106-default (geeko@buildho= st) (gcc version 7.5.0 (SUSE Linux)) #1 SMP Mon Nov 22 08:38:17 UTC 2021 (5= 2078fe)


Martin Hughes

------=_Part_1543256_309390968.1663255119124-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 16 00:27:58 2022 Received: (at 57834) by debbugs.gnu.org; 16 Sep 2022 04:27:58 +0000 Received: from localhost ([127.0.0.1]:41124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ2xI-0006sR-Th for submit@debbugs.gnu.org; Fri, 16 Sep 2022 00:27:58 -0400 Received: from mailomta7-re.btinternet.com ([213.120.69.100]:50695 helo=re-prd-fep-042.btinternet.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYvN2-0004TU-Cm for 57834@debbugs.gnu.org; Thu, 15 Sep 2022 16:22:04 -0400 Received: from re-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.54.5]) by re-prd-fep-042.btinternet.com with ESMTP id <20220915202153.ZCBV3291.re-prd-fep-042.btinternet.com@re-prd-rgout-002.btmx-prd.synchronoss.net> for <57834@debbugs.gnu.org>; Thu, 15 Sep 2022 21:21:53 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btmx201904; t=1663273313; bh=/V80kMrUh/O72REY+66x1Czkj+zsGvsOPi8VlROf6sY=; h=To:Message-ID:Subject:MIME-Version:From:Date; b=lhIi+HQcrciATOI0mckzWNyPUr4/g4hKg+dj9i/N8Ftr4+qXq6LUHKXWko+PLumwQaCaojzMWi7gw/T3l57/Ylf6hI0DP8N8prssLj5NSY82RYB2Q497GIiKEa/LPQJjGGbJZe7mNr1r/ryYR0ZfoLujy1EVu3hT/k3HSBUpU3zy6eHYgPCC8UgjrIsZFO6g3pTL6Q64J0U66y/vFDQN0UR9JDKhLUedtMovXhK4FUyEUl+ZRoZdGIH+5iPEHM/pptMQu4RyX8+gWv59sF5S/wT/EOQKBtCN8q8nxqtBkPYd21Foz/JsuPu92ah24seOLik8XDWSkg5yiRza2tQWBg== Authentication-Results: btinternet.com; none X-SNCR-Rigid: 613A8DE839C4102D X-OWM-Env-Sender: martin.j.hughes@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvfedrfedukedgudehudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefvkffugggtfghihfffsegrtdersgdtreejnecuhfhrohhmpeforghrthhinhcujfhughhhvghsuceomhgrrhhtihhnrdhjrdhhuhhghhgvshessghtihhnthgvrhhnvghtrdgtohhmqeenucggtffrrghtthgvrhhnpeelueeiteeuhfejjeekteejgedtveeileejudejtdelvedujefgieeihfeuvdelffenucfkphepuddtrddvrdehgedrleekpdekiedrudehhedrvddukedrudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehrvgdqphhrugdquhigfhgvphdqtddujedrsghtmhigqdhprhgurdhshihntghhrhhonhhoshhsrdhnvghtpdhinhgvthepuddtrddvrdehgedrleekpdhmrghilhhfrhhomhepmhgrrhhtihhnrdhjrdhhuhhghhgvshessghtihhnthgvrhhnvghtrdgtohhmpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejkeefgeesuggvsggsuhhgshdrghhnuhdrohhrgh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-SNCR-hdrdom: btinternet.com Received: from re-prd-uxfep-017.btmx-prd.synchronoss.net (10.2.54.98) by re-prd-rgout-002.btmx-prd.synchronoss.net (5.8.716.04) id 613A8DE839C4102D for 57834@debbugs.gnu.org; Thu, 15 Sep 2022 21:21:53 +0100 Received: from [86.155.218.175] by email.bt.com with HTTP; Thu, 15 Sep 2022 21:21:53 +0100 To: 57834@debbugs.gnu.org Message-ID: <403e9e24.3ee71.18342d0a41b.Webtop.98@btinternet.com> Subject: Date Command Anomaly - Forget it. My Oversite MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1469941_1026350816.1663273313304" User-Agent: OWM Mail 3 X-SID: 98 X-Originating-IP: [86.155.218.175] From: Martin Hughes Date: Thu, 15 Sep 2022 21:21:53 +0100 (BST) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57834 X-Mailman-Approved-At: Fri, 16 Sep 2022 00:27:55 -0400 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 (-) ------=_Part_1469941_1026350816.1663273313304 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sorry, my oversite, It was the transition from Greenwich Mean Time to British Summer time 27th March. Martin Hughes ------=_Part_1469941_1026350816.1663273313304 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Sorry, my oversite,


It was the transition from Greenwich Mean Time to British Summer time 27th March.


Martin Hughes

------=_Part_1469941_1026350816.1663273313304-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 23 09:03:30 2022 Received: (at 57834) by debbugs.gnu.org; 23 Sep 2022 13:03:30 +0000 Received: from localhost ([127.0.0.1]:39675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obiL3-0005Ep-MG for submit@debbugs.gnu.org; Fri, 23 Sep 2022 09:03:29 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]:44917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obiKx-0005EZ-LA for 57834@debbugs.gnu.org; Fri, 23 Sep 2022 09:03:27 -0400 Received: by mail-qk1-f179.google.com with SMTP id y2so8153465qkl.11 for <57834@debbugs.gnu.org>; Fri, 23 Sep 2022 06:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=ztEB71lImzMQzN2bopJHaK7Wn3zrH+2Kh+FyQhdqA9s=; b=XG9HVib120NBS/CLVeOr2BWASLxeNnAQkvuqIZHSTbv3FJLr3NNxbWuxQlqI7xLQY0 gWGyUD/trwzQjhXRwqbwrbV8pUSc+N57FZuMhM60dOKKbLvM1AORxXnqSZi68oA74WDk l4fqlTu0srv3G0LGR+Ofg+vFb+H0Auoom6+QNSF1/Eg/5cFz7vTnmInxNCTE5n1hUC1h u5s8yUOMbrRxxWKns39ilji3yz6e0LrK+E0yznGrzcy4ft84kHU8d5r6bjDMYYAouI1e K6BZR6dKAaQOAndu5PsuV2ZGpTLYYr/NruMRGcERxoJZ860kPdl1FUwhEtkex2CD7Si6 x50w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=ztEB71lImzMQzN2bopJHaK7Wn3zrH+2Kh+FyQhdqA9s=; b=T1h9EM51csP4IvYPH7AAiSa2cztQwGF85PvhI0j8saFzcfsE/Kw7PycsmP7MnhzVNb Vv3IVuzC9LFYawwt5bX3bydRg4eF5VZgsPd+UhL+UrORRxFLyugB7wiY9l/uhJLFKDPs 3Xl+IpELQICR3ixK1dpt4aOSOM9x5qqzFkt+pFwdk1qDB4CtO1eG7/lwXArHQ1BfrZhm 7/2PRfLo0ZyvU+f+5BQFtaxjH5IjFFz1a3S6PaVeIui9GBKwxMyOeXBAvKJGuneTW9wA xAHBCtlWGoIROIsXi+IkdxojGSFjo5xfZIbBR9SE33he9CTNGk4f3K4tTlEiJevtbgEY g+Pg== X-Gm-Message-State: ACrzQf1nzXt76DUA45za8j6xNK/Dgqphh7hZlAQMJlYsRmmzTgcq9MHg TfhYod2h3Eez+oCVxC2jSxfh0Knp/VXXARBOIJEEOs1v+3U= X-Google-Smtp-Source: AMsMyM6xoiwc9Vq5Ac/fSvNePbbFSYxWQJE4ys5o8g8Lv3y5MNYFUz7hk3Xjz8a8RIlxnEePiSHn0HoAhlzeLEHSth8= X-Received: by 2002:a37:a4a:0:b0:6cd:5263:1ba4 with SMTP id 71-20020a370a4a000000b006cd52631ba4mr5449423qkk.203.1663938197939; Fri, 23 Sep 2022 06:03:17 -0700 (PDT) MIME-Version: 1.0 References: <254849d.41e75.18341bb0518.Webtop.95@btinternet.com> In-Reply-To: <254849d.41e75.18341bb0518.Webtop.95@btinternet.com> From: Bert Wesarg Date: Fri, 23 Sep 2022 15:03:06 +0200 Message-ID: Subject: Re: bug#57834: Date Command Anomaly To: Martin Hughes Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: Dear, $ TZ=Europe/London date --debug --date="2022/03/27 01:00:00" date: warning: value 2022 has 4 digits. Assuming YYYY/MM/DD date: parsed date part: (Y-M-D) 2022-03-27 date: parsed time part: 01:00:00 dat [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 DEAR_SOMETHING BODY: Contains 'Dear (something)' -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (bert.wesarg[at]googlemail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.222.179 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.222.179 listed in list.dnswl.org] X-Debbugs-Envelope-To: 57834 Cc: 57834@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: 0.7 (/) Dear, $ TZ=3DEurope/London date --debug --date=3D"2022/03/27 01:00:00" date: warning: value 2022 has 4 digits. Assuming YYYY/MM/DD date: parsed date part: (Y-M-D) 2022-03-27 date: parsed time part: 01:00:00 date: input timezone: TZ=3D"Europe/London" environment value date: using specified time as starting value: '01:00:00' date: error: invalid date/time value: date: user provided time: '(Y-M-D) 2022-03-27 01:00:00' date: normalized time: '(Y-M-D) 2022-03-27 02:00:00' date: -- date: possible reasons: date: non-existing due to daylight-saving time; date: numeric values overflow; date: missing timezone date: invalid date =E2=80=982022/03/27 01:00:00=E2=80=99 Best Bert On Thu, Sep 15, 2022 at 5:21 PM Martin Hughes via GNU coreutils Bug Reports wrote: > > > Dear Sir, > I have stumbled across this anomaly whilst processing a series of dates. > I have not found any other legal date combination that generates this > error. Perl time facilities seem to be affected by this too. > > mjh@carnaby:~> date --date=3D"2022/03/27 00:00:00" > Sun 27 Mar 00:00:00 GMT 2022 > > mjh@carnaby:~> date --date=3D"2022/03/27 01:00:00" > date: invalid date =E2=80=982022/03/27 01:00:00=E2=80=99 > > mjh@carnaby:~> date --date=3D"2022/03/27 02:00:00" > Sun 27 Mar 02:00:00 BST 2022 > > The version of date is: > mjh@carnaby:~> date --version > date (GNU coreutils) 8.29 > Copyright (C) 2017 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > . > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Written by David MacKenzie. > > The operating system is opensuse leap 15.2: > Linux version 5.3.18-lp152.106-default (geeko@buildhost) (gcc version > 7.5.0 (SUSE Linux)) #1 SMP Mon Nov 22 08:38:17 UTC 2021 (52078fe) > > Martin Hughes From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 23 13:05:08 2022 Received: (at 57834) by debbugs.gnu.org; 23 Sep 2022 17:05:08 +0000 Received: from localhost ([127.0.0.1]:41651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obm6u-000639-7x for submit@debbugs.gnu.org; Fri, 23 Sep 2022 13:05:08 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:35692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obm6s-00062Y-KX for 57834@debbugs.gnu.org; Fri, 23 Sep 2022 13:05:07 -0400 Received: by mail-wr1-f43.google.com with SMTP id r7so959342wrm.2 for <57834@debbugs.gnu.org>; Fri, 23 Sep 2022 10:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:references:to:subject:from:to:cc :subject:date; bh=+zapSAa5hxsUIzbuyLe+rcn+bIIMe7TBHGI8nvOec5k=; b=SONOrEb8F8xvrMU2wkytC0NTqNxD7iUh5BOSZnieUAFtGWivf+6NzEI8PIktDwQhMb 0beIPtxbI+vbk3mzbkenOdGg1ZNc2E7rJrwYaZ2f1t4R2M1wZV1xUWBiNGJCzZbhZUWX Du1Bg/U8UViw41hpr4bYZZJ+ZEbo4HASiBJ0MrIRg9maQ/Nd9RG07DjaaNY7xNv7DCNL jcwkYiUd2hr+DBVAsZ25pEAfhAYNRnhLY6UfQxYIaYsOvCEGzMp9I5yvjgMCPDuENADY EkwnItiqWP2JJg0Uc4FF6T2QRc6k6XUvKjvnn+jGpWPqLWn484djiitxw/bFhMqqpbc0 +7sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:references:to:subject :x-gm-message-state:from:to:cc:subject:date; bh=+zapSAa5hxsUIzbuyLe+rcn+bIIMe7TBHGI8nvOec5k=; b=D3SZxidM2SYz6j5UvQusz3NJXeNJC59MQX0xXBOKm/RB3NuxELKcZCdqSi2AKS04E2 Hy7+VZ9y9Um5JJzcRiRkoXvnC81XJ1Q375vyARxuU19a+R3qJp/dVOzixiOd7ynR/NX1 lIhyVnwQvVBtHn7XPHFpUHKBPClYCqcHX2XXqDoqxRYOgxiKjjaZdV4MfqISllisOr09 WWUfaBFQsQBHCOacYPQoAS2MatoUfTpI2oNc/TwC7eHjVeolcouGQVHgnnhyMkKT+nzW 1VnkWJyadKpV93dVZ+DTZDwiVZTYQxZqsqOYRngQb3vtsbH3rhJoMYuT139MiN/2Lp8M x6lA== X-Gm-Message-State: ACrzQf3fiZTKSWTCsIUgukNSaZXXQOs5LWTlNm6yKMvgJ/sHJ8pV0Iy0 W7W3lWkVAryS93V1ZWXOpvzKk5lSoeE= X-Google-Smtp-Source: AMsMyM7o9IBUwN9Oy5XedgHjYZEfZByeqSP4fQpORZu9sT1lG07uWyMVbPAPhpUM1inngOBkcyCVwQ== X-Received: by 2002:a5d:5903:0:b0:22a:33de:f509 with SMTP id v3-20020a5d5903000000b0022a33def509mr6066756wrd.498.1663952700711; Fri, 23 Sep 2022 10:05:00 -0700 (PDT) Received: from [192.168.23.100] (92.40.187.213.threembb.co.uk. [92.40.187.213]) by smtp.gmail.com with ESMTPSA id j27-20020a05600c1c1b00b003b332a7bf15sm3313811wms.7.2022.09.23.10.04.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Sep 2022 10:05:00 -0700 (PDT) Subject: Re: bug#57834: Date Command Anomaly To: Bert Wesarg References: <254849d.41e75.18341bb0518.Webtop.95@btinternet.com> From: Chris Elvidge Message-ID: <56786ace-1566-920f-69d8-e36a99e527ee@gmail.com> Date: Fri, 23 Sep 2022 18:04:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 57834 Cc: 57834@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: -0.8 (/) On 23/09/2022 14:03, Bert Wesarg via GNU coreutils Bug Reports wrote: > Dear, > > $ TZ=Europe/London date --debug --date="2022/03/27 01:00:00" > date: warning: value 2022 has 4 digits. Assuming YYYY/MM/DD > date: parsed date part: (Y-M-D) 2022-03-27 > date: parsed time part: 01:00:00 > date: input timezone: TZ="Europe/London" environment value > date: using specified time as starting value: '01:00:00' > date: error: invalid date/time value: > date: user provided time: '(Y-M-D) 2022-03-27 01:00:00' > date: normalized time: '(Y-M-D) 2022-03-27 02:00:00' > date: -- > date: possible reasons: > date: non-existing due to daylight-saving time; > date: numeric values overflow; > date: missing timezone > date: invalid date ‘2022/03/27 01:00:00’ > > Best > Bert > > On Thu, Sep 15, 2022 at 5:21 PM Martin Hughes via GNU coreutils Bug > Reports wrote: >> >> >> Dear Sir, >> I have stumbled across this anomaly whilst processing a series of dates. >> I have not found any other legal date combination that generates this >> error. Perl time facilities seem to be affected by this too. >> >> mjh@carnaby:~> date --date="2022/03/27 00:00:00" >> Sun 27 Mar 00:00:00 GMT 2022 >> >> mjh@carnaby:~> date --date="2022/03/27 01:00:00" >> date: invalid date ‘2022/03/27 01:00:00’ >> >> mjh@carnaby:~> date --date="2022/03/27 02:00:00" >> Sun 27 Mar 02:00:00 BST 2022 >> >> The version of date is: >> mjh@carnaby:~> date --version >> date (GNU coreutils) 8.29 >> Copyright (C) 2017 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later >> . >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. >> Written by David MacKenzie. >> >> The operating system is opensuse leap 15.2: >> Linux version 5.3.18-lp152.106-default (geeko@buildhost) (gcc version >> 7.5.0 (SUSE Linux)) #1 SMP Mon Nov 22 08:38:17 UTC 2021 (52078fe) >> >> Martin Hughes > > > > A bit late to the party weren't you? Martin acknowledged it was GMT/BST transition, on 15th September. -- Chris Elvidge From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 23 13:46:03 2022 Received: (at control) by debbugs.gnu.org; 23 Sep 2022 17:46:03 +0000 Received: from localhost ([127.0.0.1]:41680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obmkU-00072A-Vq for submit@debbugs.gnu.org; Fri, 23 Sep 2022 13:46:03 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obmkS-00071d-NE for control@debbugs.gnu.org; Fri, 23 Sep 2022 13:46:01 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 33123160054 for ; Fri, 23 Sep 2022 10:45:54 -0700 (PDT) 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 yJKiXiF8uPvZ for ; Fri, 23 Sep 2022 10:45:53 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7C5C416007D for ; Fri, 23 Sep 2022 10:45:53 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 7C5C416007D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1663955153; bh=qbPp4F8xY6ea6XKV6tNVX0bOpN48gy5xED/htbSwicE=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=aEq7ZDtNWCGVxqjoSdOV379lf19LiAF/L23q0RP/rOxim9jtyaEDejWj5Asv2FB7n G1FacYMiXngw49hq4Z9UO40Gqn2uvQBpNRzcTp7MW6GDejQOi29r3Lc8T44H3HcOcP vzzGR8uVcHo6gdHtPm3UqsEBPQW5G+kkH3RHGlhw= 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 kmj0A4ePVJ7k for ; Fri, 23 Sep 2022 10:45:53 -0700 (PDT) Received: from [192.168.1.163] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5CCEE160054 for ; Fri, 23 Sep 2022 10:45:53 -0700 (PDT) Message-ID: <1e3f7746-cbda-9cbf-8636-dd4fb3312ed0@cs.ucla.edu> Date: Fri, 23 Sep 2022 10:45:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: control@debbugs.gnu.org From: Paul Eggert Subject: 57834 is not a bug Organization: UCLA Computer Science Department Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) tags 57834 notabug close 57834 From unknown Thu Aug 14 21:56:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 22 Oct 2022 11:24:06 +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