Package: coreutils
Version: 5.97-5
Severity: normal

Issuing the date command with the -d switch, I would expect that date interprets
the -d argument according to locales.

If I have a date as 21 Set 1996 (Set is the abbreviation
for italian settembre = english september), I expect the behaviour

$ env LC_ALL=it_IT.UTF-8 date -d "21 Set 1996"
sab set 21 00:00:00 AST 1996

On the contrary it gives

date: invalid date `21 Set 1996'

apparently there isn't a way to tell date that the -d argument is in italian 
locale.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-486
Locale: LANG=es_DO.UTF-8, LC_CTYPE=es_DO.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                      2.2.41-1    Access control list shared library
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libselinux1                  1.30.27-3   SELinux shared libraries

coreutils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to