1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-14 17:21:04 +00:00
uutils-coreutils/tests
M Bussonnier 7632acfc90 Fix touch -t with 2 digit years when YY > 68
When using `touch -t` with a 2 digit year, the year is interpreted as
a relative year to 2000.

When the year is 68 or less, it should be interpreted as 20xx.
When the year is 69 or more, it should be interpreted as 19xx.

This is the behavior of GNU `touch`.

fixes gh-7280

Arguably 2 digits years should be deprecated as we
are already closer to 2069, than 1969.
2025-03-14 11:00:08 +01:00
..
benches/factor num-prime => '0.4.4' 2024-10-15 22:46:44 +02:00
by-util Fix touch -t with 2 digit years when YY > 68 2025-03-14 11:00:08 +01:00
common tests/common/util: Use is_none_or instead of map_or 2025-03-04 09:57:13 +01:00
fixtures Fixed tests to reflect si's handling of kilos 2025-02-18 16:32:53 -05:00
test_util_name.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
tests.rs relpath: remove 2023-10-04 16:13:06 +02:00