From unknown Sun Jun 22 11:42:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23008: Daylight Savings Time Bug in Date Resent-From: Sarah Corriher Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 14 Mar 2016 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23008 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 23008@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14579366188368 (code B ref -1); Mon, 14 Mar 2016 06:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Mar 2016 06:23:38 +0000 Received: from localhost ([127.0.0.1]:47352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afLuk-0002Au-3f for submit@debbugs.gnu.org; Mon, 14 Mar 2016 02:23:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36867) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afKzv-0000jw-S9 for submit@debbugs.gnu.org; Mon, 14 Mar 2016 01:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afKzp-00073W-UF for submit@debbugs.gnu.org; Mon, 14 Mar 2016 01:24:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afKzp-00073Q-RO for submit@debbugs.gnu.org; Mon, 14 Mar 2016 01:24:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afKzo-0004mN-Uo for bug-coreutils@gnu.org; Mon, 14 Mar 2016 01:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afKzk-00072l-Vb for bug-coreutils@gnu.org; Mon, 14 Mar 2016 01:24:48 -0400 Received: from healthwyze.org ([69.64.72.195]:44838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afKzk-00072U-Mc for bug-coreutils@gnu.org; Mon, 14 Mar 2016 01:24:44 -0400 Received: from [10.0.0.22] (healthwyze.org [69.64.72.195]) by healthwyze.org (Postfix) with ESMTPSA id 9ECD33241B6B for ; Sun, 13 Mar 2016 22:24:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=healthwyze.org; s=mail; t=1457933082; bh=R7c8nEQA+RAvJ2LDMBJRLWqaY+7kjHZVmaiF2a/CgxQ=; h=To:From:Subject:Date:From; b=WZELxGo3+97EgfdcUl9+Q2qQtYo/rjsZ5rY1RyFQyBRxfpyuDvGPMVsAS4HAo/hUg axwZLmL0giIIgqE5haNkfZMVyAyv547hLsZAW503IdHWKPa/Dimcsf1LncTG1fLRod ojc0s5nNpNZplZ6s+GueASekwKhHddl856fVVfPSAKBIuosmPKO6yJhablEKAwNSfz 9fJapZ5Ujs694ASORBKDrKfGIKu9grcitfvIYr/gxRYm+t7PmXeMzyu2GjgKWKfYB5 3jBED5R3ztjDQb3k8NV/3Egt8FjTi+P4IkKmszIk801PgbQvf3EBKw2t/wsy7QuxUN XlAXIf+2odZaQ== From: Sarah Corriher Message-ID: <56E64B18.3040708@healthwyze.org> Date: Mon, 14 Mar 2016 01:24:40 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010400090108040004060304" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Mailman-Approved-At: Mon, 14 Mar 2016 02:23:37 -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: -4.1 (----) This is a multi-part message in MIME format. --------------010400090108040004060304 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit We detected a bug in the date program, which correlates to the daylight savings time change. A day disappeared from the date program between 12:00 AM and 1:00 AM on 3/14/16. The date program began working as expected immediately after 1:00 AM. Here is the bizarre output that I got for basic commands on 3/14/16: $ date -d -0days +%Y-%m-%d 2016-03-14 $ date -d -1days +%Y-%m-%d 2016-03-12 Notice that I was unable to obtain the expected output of 2016-03-13 for the day prior. I was able to reproduce this using version 8.13 on Debian, and 8.21 on Mint. -- Sarah C. Corriher Co-author of "Defy Your Doctor and Be Healed" 336-528-4120 http://HealthWyze.org We're Health Wyze. Have you told your friends about us? --------------010400090108040004060304 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit We detected a bug in the date program, which correlates to the daylight savings time change. A day disappeared from the date program between 12:00 AM and 1:00 AM on 3/14/16. The date program began working as expected immediately after 1:00 AM. Here is the bizarre output that I got for basic commands on 3/14/16:
$ date -d -0days +%Y-%m-%d
2016-03-14

$ date -d -1days +%Y-%m-%d
2016-03-12
Notice that I was unable to obtain the expected output of 2016-03-13 for the day prior. I was able to reproduce this using version 8.13 on Debian, and 8.21 on Mint.

--
Sarah C. Corriher
Co-author of "Defy Your Doctor and Be Healed"
336-528-4120
http://HealthWyze.org

We're Health Wyze. Have you told your friends about us?

--------------010400090108040004060304-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 11:04:20 2016 Received: (at control) by debbugs.gnu.org; 14 Mar 2016 15:04:21 +0000 Received: from localhost ([127.0.0.1]:47985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afU2e-0007xE-L0 for submit@debbugs.gnu.org; Mon, 14 Mar 2016 11:04:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60048) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afU2c-0007x0-Di; Mon, 14 Mar 2016 11:04:18 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id A859550F4B; Mon, 14 Mar 2016 15:04:17 +0000 (UTC) Received: from [10.3.113.142] (ovpn-113-142.phx2.redhat.com [10.3.113.142]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2EF4GRG028836; Mon, 14 Mar 2016 11:04:17 -0400 Subject: Re: bug#23008: Daylight Savings Time Bug in Date To: Sarah Corriher , 23008-done@debbugs.gnu.org, GNU bug control References: <56E64B18.3040708@healthwyze.org> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Organization: Red Hat, Inc. Message-ID: <56E6D2F0.5010804@redhat.com> Date: Mon, 14 Mar 2016 09:04:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56E64B18.3040708@healthwyze.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.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: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 23008 notabug thanks On 03/13/2016 11:24 PM, Sarah Corriher wrote: > We detected a bug in the date program, which correlates to the daylight= > savings time change. Thanks for the report. However, this is not a bug, but a FAQ that gets asked twice a year. See: https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-co= mmand-is-not-working-right_002e >=20 > $ date -d -0days +%Y-%m-%d > 2016-03-14 >=20 > $ date -d -1days +%Y-%m-%d > 2016-03-12 When trying to add units of 24 hours (the -1days), only to then display just a day and not an hour, it's best to start from noon rather than from a time that might be impacted by daylight savings: # date -d '12:00pm 2014-03-14 -1day' +%Y-%m-%d 2016-03-13 Otherwise, as you discovered, starting at midnight and going 24 hours across a day with only 23 hours is likely to skip that day. I'm closing this as not a bug, but feel free to reply with further questions or comments. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJW5tLwAAoJEKeha0olJ0Nqp1kH+gPhBBX+68gRbXEZmN4WhkHq RK7/LzCDLUAPHnFQlmYQCGuBmu0zIyluE//2jVoQ6PiT5wsCV5ZdK8aOqQtw+maO +L/D8m39eCGGh+UMLN0zMTX0pC5QMuX8YCB4CsljMl6DFyaIrvT6ztVhLib5pQBD YyfU9rNmQyDrlEbIIOf9DYEHPhCbG4w1LoENAoo8mkVmayoCMf4SirlgOI4+LPNv zyCuh4JsmYKv52SJjGKm80Dw8QX5s1ZWjtlDjdmmp5NS05g+WiQY7I4eMWBV5GbU zCRPEq1uIk1JiyT8Yj7w8rptW+n7kGw3Wwm2ot9Jjkn3Ir7gcq6yEXdHZ53CDFc= =3LIK -----END PGP SIGNATURE----- --bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L-- From unknown Sun Jun 22 11:42:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Sarah Corriher Subject: bug#23008: closed (Re: bug#23008: Daylight Savings Time Bug in Date) Message-ID: References: <56E6D2F0.5010804@redhat.com> <56E64B18.3040708@healthwyze.org> X-Gnu-PR-Message: they-closed 23008 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: notabug Reply-To: 23008@debbugs.gnu.org Date: Mon, 14 Mar 2016 15:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1457967902-30655-1" This is a multi-part message in MIME format... ------------=_1457967902-30655-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23008: Daylight Savings Time Bug in Date which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23008@debbugs.gnu.org. --=20 23008: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23008 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1457967902-30655-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23008-done) by debbugs.gnu.org; 14 Mar 2016 15:04:20 +0000 Received: from localhost ([127.0.0.1]:47983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afU2e-0007xC-DM for submit@debbugs.gnu.org; Mon, 14 Mar 2016 11:04:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60048) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afU2c-0007x0-Di; Mon, 14 Mar 2016 11:04:18 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id A859550F4B; Mon, 14 Mar 2016 15:04:17 +0000 (UTC) Received: from [10.3.113.142] (ovpn-113-142.phx2.redhat.com [10.3.113.142]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2EF4GRG028836; Mon, 14 Mar 2016 11:04:17 -0400 Subject: Re: bug#23008: Daylight Savings Time Bug in Date To: Sarah Corriher , 23008-done@debbugs.gnu.org, GNU bug control References: <56E64B18.3040708@healthwyze.org> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Organization: Red Hat, Inc. Message-ID: <56E6D2F0.5010804@redhat.com> Date: Mon, 14 Mar 2016 09:04:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56E64B18.3040708@healthwyze.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 23008-done 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: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 23008 notabug thanks On 03/13/2016 11:24 PM, Sarah Corriher wrote: > We detected a bug in the date program, which correlates to the daylight= > savings time change. Thanks for the report. However, this is not a bug, but a FAQ that gets asked twice a year. See: https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-co= mmand-is-not-working-right_002e >=20 > $ date -d -0days +%Y-%m-%d > 2016-03-14 >=20 > $ date -d -1days +%Y-%m-%d > 2016-03-12 When trying to add units of 24 hours (the -1days), only to then display just a day and not an hour, it's best to start from noon rather than from a time that might be impacted by daylight savings: # date -d '12:00pm 2014-03-14 -1day' +%Y-%m-%d 2016-03-13 Otherwise, as you discovered, starting at midnight and going 24 hours across a day with only 23 hours is likely to skip that day. I'm closing this as not a bug, but feel free to reply with further questions or comments. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJW5tLwAAoJEKeha0olJ0Nqp1kH+gPhBBX+68gRbXEZmN4WhkHq RK7/LzCDLUAPHnFQlmYQCGuBmu0zIyluE//2jVoQ6PiT5wsCV5ZdK8aOqQtw+maO +L/D8m39eCGGh+UMLN0zMTX0pC5QMuX8YCB4CsljMl6DFyaIrvT6ztVhLib5pQBD YyfU9rNmQyDrlEbIIOf9DYEHPhCbG4w1LoENAoo8mkVmayoCMf4SirlgOI4+LPNv zyCuh4JsmYKv52SJjGKm80Dw8QX5s1ZWjtlDjdmmp5NS05g+WiQY7I4eMWBV5GbU zCRPEq1uIk1JiyT8Yj7w8rptW+n7kGw3Wwm2ot9Jjkn3Ir7gcq6yEXdHZ53CDFc= =3LIK -----END PGP SIGNATURE----- --bkx9st4ikvpExMoJu7XFSmcqtAqWaRa9L-- ------------=_1457967902-30655-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Mar 2016 06:23:38 +0000 Received: from localhost ([127.0.0.1]:47352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afLuk-0002Au-3f for submit@debbugs.gnu.org; Mon, 14 Mar 2016 02:23:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36867) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afKzv-0000jw-S9 for submit@debbugs.gnu.org; Mon, 14 Mar 2016 01:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afKzp-00073W-UF for submit@debbugs.gnu.org; Mon, 14 Mar 2016 01:24:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afKzp-00073Q-RO for submit@debbugs.gnu.org; Mon, 14 Mar 2016 01:24:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afKzo-0004mN-Uo for bug-coreutils@gnu.org; Mon, 14 Mar 2016 01:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afKzk-00072l-Vb for bug-coreutils@gnu.org; Mon, 14 Mar 2016 01:24:48 -0400 Received: from healthwyze.org ([69.64.72.195]:44838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afKzk-00072U-Mc for bug-coreutils@gnu.org; Mon, 14 Mar 2016 01:24:44 -0400 Received: from [10.0.0.22] (healthwyze.org [69.64.72.195]) by healthwyze.org (Postfix) with ESMTPSA id 9ECD33241B6B for ; Sun, 13 Mar 2016 22:24:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=healthwyze.org; s=mail; t=1457933082; bh=R7c8nEQA+RAvJ2LDMBJRLWqaY+7kjHZVmaiF2a/CgxQ=; h=To:From:Subject:Date:From; b=WZELxGo3+97EgfdcUl9+Q2qQtYo/rjsZ5rY1RyFQyBRxfpyuDvGPMVsAS4HAo/hUg axwZLmL0giIIgqE5haNkfZMVyAyv547hLsZAW503IdHWKPa/Dimcsf1LncTG1fLRod ojc0s5nNpNZplZ6s+GueASekwKhHddl856fVVfPSAKBIuosmPKO6yJhablEKAwNSfz 9fJapZ5Ujs694ASORBKDrKfGIKu9grcitfvIYr/gxRYm+t7PmXeMzyu2GjgKWKfYB5 3jBED5R3ztjDQb3k8NV/3Egt8FjTi+P4IkKmszIk801PgbQvf3EBKw2t/wsy7QuxUN XlAXIf+2odZaQ== To: bug-coreutils@gnu.org From: Sarah Corriher Subject: Daylight Savings Time Bug in Date Message-ID: <56E64B18.3040708@healthwyze.org> Date: Mon, 14 Mar 2016 01:24:40 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010400090108040004060304" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Mar 2016 02:23:37 -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: -4.1 (----) This is a multi-part message in MIME format. --------------010400090108040004060304 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit We detected a bug in the date program, which correlates to the daylight savings time change. A day disappeared from the date program between 12:00 AM and 1:00 AM on 3/14/16. The date program began working as expected immediately after 1:00 AM. Here is the bizarre output that I got for basic commands on 3/14/16: $ date -d -0days +%Y-%m-%d 2016-03-14 $ date -d -1days +%Y-%m-%d 2016-03-12 Notice that I was unable to obtain the expected output of 2016-03-13 for the day prior. I was able to reproduce this using version 8.13 on Debian, and 8.21 on Mint. -- Sarah C. Corriher Co-author of "Defy Your Doctor and Be Healed" 336-528-4120 http://HealthWyze.org We're Health Wyze. Have you told your friends about us? --------------010400090108040004060304 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit We detected a bug in the date program, which correlates to the daylight savings time change. A day disappeared from the date program between 12:00 AM and 1:00 AM on 3/14/16. The date program began working as expected immediately after 1:00 AM. Here is the bizarre output that I got for basic commands on 3/14/16:
$ date -d -0days +%Y-%m-%d
2016-03-14

$ date -d -1days +%Y-%m-%d
2016-03-12
Notice that I was unable to obtain the expected output of 2016-03-13 for the day prior. I was able to reproduce this using version 8.13 on Debian, and 8.21 on Mint.

--
Sarah C. Corriher
Co-author of "Defy Your Doctor and Be Healed"
336-528-4120
http://HealthWyze.org

We're Health Wyze. Have you told your friends about us?

--------------010400090108040004060304-- ------------=_1457967902-30655-1--