Stefan Alpers <[EMAIL PROTECTED]> wrote: > I probably found a bug in the core utils date package. Today > (2005-12-02) I used date to calculate the date for 30 days in advance > which returned 2005-01-01. this result is obviously wrong as it lies > in the past. This was run on a Suse Linux 9.1 fully patched. I could > reproduce these results on a Debian 3.1 fully patched. > Attached you find a screenshot.
Thanks for the report, but that's not a bug. You're using %G, which is the year corresponding to the week number reported by %V: 52, in this case, so the corresponding year is indeed 2005. Perhaps you meant %Y? _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
