coreutils/tests
Cả thế giới là Rust 16f73503b3
feat(date): add locale-aware hour format detection (#9654)
Implement locale-aware 12-hour vs 24-hour time formatting that respects
LC_TIME environment variable preferences, matching GNU coreutils 9.9 behavior.

- Add locale.rs module with nl_langinfo() FFI for POSIX locale queries
- Detect locale hour format preference (12-hour vs 24-hour)
- Use OnceLock caching for performance (99% faster on repeated calls)
- Update default format to use locale-aware formatting
- Add integration tests for C and en_US locales

Fixes compatibility with GNU coreutils date-locale-hour.sh test.
2025-12-19 17:05:31 +01:00
..
by-util feat(date): add locale-aware hour format detection (#9654) 2025-12-19 17:05:31 +01:00
fixtures test(cksum): Add tests for BLAKE2b --length sanitization 2025-11-18 11:30:14 +01:00
uudoc Merge pull request #9152 from shayelkin/main 2025-12-07 17:07:19 +01:00
uutests clippy: fix borrow_as_ptr lint 2025-12-18 00:19:14 +00:00
test_localization_and_colors.rs clap/locale: fix the colors for all programs (Closes: #8501) 2025-09-05 08:25:59 +02:00
test_util_name.rs coreutils: Print utility not found to stderr 2025-12-07 18:02:20 +09:00
tests.rs uudoc: move manpage generation away from the binary 2025-10-22 01:17:08 -07:00