Debian Bug report logs - #688770
coreutils: date --date=YYYY is incorrect

version graph

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

Reported by: Eric Cooper <[email protected]>

Date: Tue, 25 Sep 2012 14:42:02 UTC

Severity: normal

Found in version coreutils/8.13-3.2

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#688770; Package coreutils. (Tue, 25 Sep 2012 14:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Eric Cooper <[email protected]>:
New Bug report received and forwarded. Copy sent to Michael Stone <[email protected]>. (Tue, 25 Sep 2012 14:42:04 GMT) (full text, mbox, link).


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

From: Eric Cooper <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: coreutils: date --date=YYYY is incorrect
Date: Tue, 25 Sep 2012 10:40:01 -0400
Package: coreutils
Version: 8.13-3.2
Severity: normal

date --date=YYYY, where YYYY is a year, just returns today's date
without complaining about an invalid input.

I would expect it to produce the same date as YYYY-01-01.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  dpkg          1.16.8
ii  install-info  4.13a.dfsg.1-10
ii  libacl1       2.2.51-8
ii  libattr1      1:2.4.46-8
ii  libc6         2.13-35
ii  libselinux1   2.1.9-5

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



Send a report that this bug log contains spam.


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

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.