-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to [EMAIL PROTECTED] on 12/28/2006 6:20 PM: > Hi > I have a Red Hat ES4 server. I ran the following date command on 29 > December 2006 to obtain the month number for 10 months ago. > Result should be 02 (Feb) but I got 03 (March)
Thanks for the report. However, this is not a bug. There is no Feb 29 2006, so the date calculation settled on Mar 1 2006 instead. That's why the documentation recommends performing month-based calculations centered around the middle of a month (also around the middle of a day, to minimize daylight savings issues, which have similar discontinuities). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFlKtr84KuGfSFAYARAjkLAKDDaHPUMNeckhAtNtl7UKS3yPJSJgCePLkc k8DhT2fWjqjGhtoY+3xgOs4= =SdsR -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
