Hi.
date(1) command parses "next $day_of_week_today" (where
$day_of_week_today is today's day name) incorrectly:
$ date
Tue Dec 9 17:16:50 GMT 2008
$ date -d "next `date +%A`"
Tue Dec 9 00:00:00 GMT 2008
It should print the next Tuesday's date, i.e. today + 7 days.
Cheers,
Jan.
2008/12/10 James Youngman <[EMAIL PROTECTED]>:
> $ date -d "next `LC_ALL=C date +%A`"
> mercredi 10 décembre 2008, 00:00:00 (UTC+)
^^^
You've just demonstrated that the bug is present in the French
localization as well -- the you got is *today*, not *next* Wednesday,
as it s