[Bug 1950858] [NEW] GNU date won't parse it's own output

dronus 1950858 at bugs.launchpad.net
Sat Nov 13 14:22:21 UTC 2021


Public bug reported:

On Ubuntu 18.04, using german locale, GNU date (v 8.28) doesn't accept
it's own output format using date -d. This is awkward, as date -d is
meant to parse all "natural" formats, and of course the output of date
will often be stored and need to be read again.


What have I done?
Run the test case
    date -d "`date`"
on up-to-date Ubuntu 18.04 with de_DE.UTF-8 locale.

What happens?
date complains that the input has invalid date format.

What I expect to happen?
GNU 'date -d' should be able to read the date text created by 'date' without further options.

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1950858

Title:
  GNU date won't parse it's own output

Status in coreutils package in Ubuntu:
  New

Bug description:
  On Ubuntu 18.04, using german locale, GNU date (v 8.28) doesn't accept
  it's own output format using date -d. This is awkward, as date -d is
  meant to parse all "natural" formats, and of course the output of date
  will often be stored and need to be read again.


  What have I done?
  Run the test case
      date -d "`date`"
  on up-to-date Ubuntu 18.04 with de_DE.UTF-8 locale.

  What happens?
  date complains that the input has invalid date format.

  What I expect to happen?
  GNU 'date -d' should be able to read the date text created by 'date' without further options.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1950858/+subscriptions




More information about the foundations-bugs mailing list