Skip to content

date: add %q test, support %#z properly #7854

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
Apr 29, 2025
Merged

Conversation

drinkcat
Copy link
Contributor

test_date: Add test for quarter

This was fixed upstream in #7333, but it's a good idea to have a
test here as well, especially as we're considering switching
datetime library.

date: Properly support %#z, instead of rejecting the format

It's easy to just replace %#z with %z as the capitalization makes
no sense anyway.

Copy link

GNU testsuite comparison:

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

It's easy to just replace %#z with %z as the capitalization makes
no sense anyway.
This was fixed upstream in uutils#7333, but it's a good idea to have a
test here as well, especially as we're considering switching
datetime library.
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@cakebaker cakebaker merged commit faa2219 into uutils:main Apr 29, 2025
69 of 70 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.

2 participants