mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
3a6bf34284
* date: fix `date -f dates.txt is failing` This commit is a trivial followup for: https://github.com/uutils/coreutils/pull/4917 and https://github.com/uutils/parse_datetime/pull/12 The functionality to parse the datetime was moved into the parse_datetime crate and the only (tiny) piece left is to call it from `date`. It also adds the test-case from the original issue. I did not include the two tests from PR#4917 because they appear to work even without this change. I am happy to include them of course if prefered. Closes: #4657 Thanks to Ben Schofield * tests: tweak changes to test_date.rs to be more idiomatic Co-authored-by: Sylvestre Ledru <sylvestre@debian.org> --------- Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>