Hello.

This is my first bug report, so please forgive me if I don't do it
right.

On April 2, 2001 I ran GNU date program (from sh-utils 2.0) with the
following options:

date -d 'last <weekday>' +%A

The wrong day is returned, except for monday which is correct.

$ date -d 'last friday' +%A
Thursday

$ date -d 'last thursday' +%A
Wednesday

$ date -d 'last wednesday' +%A
Tuesday

$ date -d 'last tuesday' +%A
Monday

$ date -d 'last monday' +%A
Monday

_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to