discovered by @cakebaker in #14614
uutils:
$ cargo run date -d "01.01. 2008 3:00 p.m."
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
Running `target/debug/coreutils date -d '01.01. 2008 3:00 p.m.'`
date: invalid date '01.01. 2008 3:00 p.m.'
GNU:
$ date -d "01.01. 2008 3:00 p.m."
Tue Jan 1 03:00:00 PM EET 2008
Tests
|
#[test] |
|
#[ignore = "GNU compat: see uutils/coreutils#14649"] |
|
fn test_date_allow_spaces_after_month() { |
|
new_ucmd!().arg("01.01. 2008 03:00 p.m.").succeeds(); |
|
} |
discovered by @cakebaker in #14614
uutils:
GNU:
Tests
coreutils/tests/by-util/test_date.rs
Lines 3306 to 3310 in 41c3451