[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8357: coreutils bug in date
From: |
Heikki Orsila |
Subject: |
bug#8357: coreutils bug in date |
Date: |
Mon, 28 Mar 2011 00:43:54 +0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello, I found a case where GNU date works pretty oddly.
At 2011-03-27 Finland moved to 'summer time'. After midnight at 2011-03-28
our web site's cron script did (date -I -d yesterday) which yielded
unexpected results:
$ date
Mon Mar 28 00:36:07 EEST 2011
$ date -I -d yesterday
2011-03-26
$ date -I -d '24 hours ago'
2011-03-26
Our scripts produced bad results due to this "feature/bug". Maybe our fault,
but this is definitely unexpected behaviour.
--
Heikki Orsila
address@hidden
http://www.iki.fi/shd
- bug#8357: coreutils bug in date,
Heikki Orsila <=