-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Emily Lane on 7/9/2009 6:38 PM: > I seem to have come across an anomaly in the date function. It only seems to > happen for April 5th > e.g. >> date --date "20090405 24 hour" +%d > 05 >> date --date "20090405 24 hour" +%m > 04 > > For any other day this correctly adds 24 hours to the date.
Not a bug; you are running into daylight savings issues. See the FAQ: http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpWqrAACgkQ84KuGfSFAYAEYACeO9T/lRJBDNnBZ0SAQSld6Nr4 Dy0An2YGmIHNkzQ79g4e2nR2Xae6WqbV =bY25 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
