On Wed, Dec 10, 2008 at 1:08 AM, Jan Minář [EMAIL PROTECTED] wrote:
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
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.
On Tue, Dec 9, 2008 at 5:19 PM, Jan Minář [EMAIL PROTECTED] wrote:
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
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 should