[nSLUG] Odd things from date version 8.13

Gerald Ruderman linux at zdoit.airpost.net
Fri Apr 26 08:24:39 ADT 2013


This used to work for me in Ubuntu 12.04, but now I am confused. All
with date version 8.13 from GNU coreutils

$ date -d "23:00"
Fri Apr 26 23:00:00 UTC 2013

as I expect

$ date -d "23:00 + 1 min"
Fri Apr 26 22:01:00 UTC 2013

subtract one hour and add 1 minute!

$ date -d "23:00 1 min"
Fri Apr 26 23:01:00 UTC 2013

what I guess have to do now

Insight welcome.

-- 
Gerald


More information about the nSLUG mailing list