-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Wrong timezone names in strftime/strflocaltime for DST #1912
Comments
Huh, I think there's no real difference between Also, This looks like a bug in glibc, honestly, though we might be able to work around it. To get at the DST TZ name we need to use |
This issue exists also in Debian testing in 2021. |
Same error on MacOS Monterey version 12.6. |
@nicowilliams could we look back at this issue with new development? |
Yes this is because the |
Relatedly, |
@nicowilliams #2863 seems to properly address the problem I originally reported |
Describe the bug
jq does not print the timezone correctly expanding the %Z in the time format for strftime/strflocaltime when it comes to DST.
To Reproduce
Using the example from the wiki...
date
reports, correctly,CEST
as the timezone taking DST into account.jq
does not.Expected behavior
The output of
jq
to specify the correct timezone following DSTEnvironment (please complete the following information):
The text was updated successfully, but these errors were encountered: