Good evening I think, I find a bug in date calculations. This is example for demonstration: -----------------------------------------------------------
[EMAIL PROTECTED] date --version date (GNU coreutils) 5.94 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. [EMAIL PROTECTED] date Mon Jul 31 17:12:57 MSD 2006 [EMAIL PROTECTED] date -d "1 month ago" +"%m" 07 [EMAIL PROTECTED] date -d "2 month ago" +"%m" 05 [EMAIL PROTECTED] ------------------------------------------------------------------ I think, date -d "1 month ago" +"%m" must return to me '06' but not '07' Thank you -- Vladislav Zitikis _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
