1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-30 12:37:49 +00:00

ls: display %Z alphabetic time zone abbreviation

Display the alphabetic timezone abbreviation (like "UTC" or "CET") when
the `--time-style` argument includes a `%Z` directive. This matches the
behavior of `date`.

Fixes #7035
This commit is contained in:
Jeffrey Finkelstein 2025-01-18 09:33:52 -05:00
parent ef0377d3da
commit ab6d95cdb9
4 changed files with 70 additions and 19 deletions

2
Cargo.lock generated
View file

@ -2871,9 +2871,11 @@ version = "0.0.29"
dependencies = [
"ansi-width",
"chrono",
"chrono-tz",
"clap",
"glob",
"hostname",
"iana-time-zone",
"lscolors",
"number_prefix",
"once_cell",