bug-coreutils
[Top][All Lists]
Advanced

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

bug#41106: date --date '20180325 02:58:00' fails


From: taehwan jeoung
Subject: bug#41106: date --date '20180325 02:58:00' fails
Date: Wed, 6 May 2020 12:59:23 +0000 (UTC)

 That's showing up your bright stupidity but you future is still bright! keep 
working on that~! lol... just joke added~ :)
    2020년 5월 6일 수요일 오후 05시 47분 51초 GMT+9, Julien Demaria <address@hidden> 작성:  
 
 Sorry I just found the reason in the FAQ... :-(
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e
I am in local daylight saving time change case.

Thanks

________________________________________
De : Julien Demaria
Envoyé : mercredi 6 mai 2020 09:59
À : address@hidden
Objet : date --date '20180325 02:58:00' fails

Hi,

We found this very suspect behavior:

$ date --date '20180325 02:58:00'
date: invalid date `20180325 02:58:00'

but for the previous day it works...:

$ date --date '20180323 02:58:00'
Fri Mar 23 02:58:00 CET 2018

Is it a bug?

Adding -u or setting TZ seems a workaround.

Tested with version 8.28 on Ubuntu 18.04.4 LTS
and also with version 8.13 on Debian GNU/Linux 7

Thanks in advance,
Julien


  

reply via email to

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