[Bug 2142588] Re: date: gnu date allows options after format

Bug Watch Updater 2142588 at bugs.launchpad.net
Tue Feb 24 14:45:46 UTC 2026


** Changed in: rust-coreutils
       Status: Unknown => Fix Released

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

Title:
  date: gnu date allows options after format

Status in rust-coreutils:
  Fix Released
Status in aide package in Ubuntu:
  New
Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  found with installs and tests for `aide`. From upstream, likely
  affects `strace` as well. Already committed upstream, so awaiting
  release > 0.6.0

  
  from upstream bug

  https://github.com/uutils/coreutils/issues/10972

  date (uutils coreutils) 0.6.0 on Ubuntu 26.04

  date -u -d 'Mon Feb 16 09:21:27 UTC 2026' '+%Y-%m-%d'
  2026-02-16

  date -u '+%Y-%m-%d' -d 'Mon Feb 16 09:21:27 UTC 2026'
  date: extra operand '-d'

  GNU coreutils Packaged by Ubuntu (9.7-3ubuntu1)

  gnudate -u +%Y-%m-%d -d 'Mon Feb 16 09:21:27 UTC 2026'
  2026-02-16

  Noticed it because strace autoconfig script failed.

  date: extra operand '-d'
  ./build-aux/file-date-gen: Invalid date: 2023-11-21
  configure.ac:21: error: assert failed: 1 == 0
  aclocal.m4:2405: st_esyscmd_s is expanded from...
  configure.ac:21: the top level
  autom4te: error: m4 failed with exit status: 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/rust-coreutils/+bug/2142588/+subscriptions




More information about the foundations-bugs mailing list