Skip to content

Conversation

@jfinkels
Copy link
Collaborator

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

This uses basically the same code as in pull request #7134. The common code in date and ls could be refactored later.

Fixes #7035

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 uutils#7035
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit 79f4b89 into uutils:main Jan 18, 2025
63 of 65 checks passed
@cakebaker
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ls: --time-style with format string %Z gives timezone offset instead of name

2 participants