date: date doesn't accept dates with missing years
Author: Devel08Created Sep 17, 2026Updated Sep 17, 2026
LabelsU - date
discovered by @cakebaker in #14614 uutils:
$ cargo run date -d "01.01. 03:00 p.m."
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
Running `target/debug/coreutils date -d '01.01. 03:00 p.m.'`
date: invalid date '01.01. 03:00 p.m.'GNU:
$ date -d "01.01. 03:00 p.m."
Thu Jan 1 03:00:00 PM EET 2026Source: uutils/coreutils