8000 ls: display %Z alphabetic time zone abbreviation by jfinkels · Pull Request #7154 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ls: display %Z alphabetic time zone abbreviation #7154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 18, 2025

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
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
0