bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23008: Daylight Savings Time Bug in Date


From: Sarah Corriher
Subject: bug#23008: Daylight Savings Time Bug in Date
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

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]