#97260 coreutils: date cannot parse its own output

#97260#5
Date:
2001-05-12 15:29:54 UTC
From:
To:
pcpool04% export LANG=de_DE
pcpool04% date
Sam Mai 12 17:14:26 CEST 2001
pcpool04% date -d 'Sam Mai 12 17:14:00 CEST 2001'
date: ungültiges Datum `Sam Mai 12 17:14:00 CEST 2001'


It generates right german output, but can not parse it.


Hochachtungsvoll,
	Bernhard R. Link

#97260#10
Date:
2001-07-21 16:29:09 UTC
From:
To:
On #debian.de in ircnet:
<Harlekin_> Richte libc6 ein (2.2.3-7) ...
<Harlekin_> date: ungültiges Datum `Sam Jul 21 18:13:46 CEST 2001'
<Harlekin_> dpkg: Fehler beim Bearbeiten von libc6 (--configure):
<Harlekin_> ???

This seems to be the same error and it could be fixed by setting the
environment-variable. I hope this is the right severity, as I think
libc6 and dpkg are 'unrelated software on the system', though it makes
them only break under special circumstances (German locales uses).

#97260#15
Date:
2001-07-21 16:48:12 UTC
From:
To:
severity normal
thanks

There are a lot of cases date can't parse. I'm not sure that they're all
fixable, and it's definately an upstream/design problem. As for the
builds, they should probably be done under the C locale for reliability
anyway--this sort of problem has come up before, and there's no way to
expect that maintainers can test builds under all possible combinations
of locales.

#97260#20
Date:
2001-07-21 19:06:44 UTC
From:
To:
* Bernhard R. Link <brl@pcpool00.mathematik.uni-freiburg.de> [20010721 18:29]:

I wonder why this breaks since libc6 does export LANG=C.  Ben?

#97260#25
Date:
2001-07-21 19:26:23 UTC
From:
To:

Because he has LC_ALL exported. I'm fixing it now.