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 2026
Tests
|
#[test] |
|
#[ignore = "GNU compat: see uutils/coreutils#14648"] |
|
fn test_date_allow_missing_year() { |
|
new_ucmd!().arg("01.01. 03:00 p.m.").succeeds(); |
|
} |
discovered by @cakebaker in #14614
uutils:
GNU:
Tests
coreutils/tests/by-util/test_date.rs
Lines 3300 to 3304 in 41c3451