Debian Bug report logs - #389251
coreutils: date's -d switch doesn't honour locale

version graph

Package: coreutils; Maintainer for coreutils is Michael Stone <[email protected]>; Source for coreutils is src:coreutils (PTS, buildd, popcon).

Reported by: Paolo Benvenuto <[email protected]>

Date: Sun, 24 Sep 2006 19:03:23 UTC

Severity: wishlist

Tags: wontfix

Found in version coreutils/5.97-5

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Michael Stone <[email protected]>:
Bug#389251; Package coreutils. (full text, mbox, link).


Acknowledgement sent to Paolo Benvenuto <[email protected]>:
New Bug report received and forwarded. Copy sent to Michael Stone <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Paolo Benvenuto <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: coreutils: date's -d switch doesn't honour locale
Date: Sun, 24 Sep 2006 14:41:14 -0400
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



Severity set to `wishlist' from `normal' Request was from [email protected] (Michael Stone) to [email protected]. (full text, mbox, link).


Tags added: wontfix Request was from [email protected] (Michael Stone) to [email protected]. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:43:58 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.