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 [email protected] http://www.iki.fi/shd
