bug-coreutils
[Top][All Lists]
Advanced

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

bug#17451: date command: Bug?


From: Yin, address@hidden
Subject: bug#17451: date command: Bug?
Date: Fri, 9 May 2014 18:07:06 +0000

When querying the time zone, the date command cannot deal with the hour when 
time changes from standard time to daylight saving time.  Below examples show 
the tests done in the Pacific time zone.

-----------------------------------------------------------------------------------------------------------------------------------------------

date -d "20120311 01" +%:::z
-08

date -d "20120311 02" +%:::z
date: invalid date `20120311 02'

date -d "20120311 03" +%:::z
-07

date -d "20140309 01" +%:::z
-08

date -d "20140309 02" +%:::z
date: invalid date `20140309 02'

date -d "20140309 03" +%:::z
-07


reply via email to

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