Skip to content
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

Add Test that %z returns numeric timezone #35

Closed
neilhwatson opened this issue Nov 30, 2016 · 2 comments
Closed

Add Test that %z returns numeric timezone #35

neilhwatson opened this issue Nov 30, 2016 · 2 comments
Assignees

Comments

@neilhwatson
Copy link
Owner

No description provided.

@neilhwatson
Copy link
Owner Author

@flynn1973 Can you provide a none C compiling test that %z renders a numeric timezone? I don't use AIX often. Can you duplicate with date +%z ?

@neilhwatson neilhwatson self-assigned this Dec 5, 2016
@flynn1973
Copy link

flynn1973 commented Jan 10, 2017

they both do not return numeric values.

root@nimmsag: /var/cfengine/delta_reporting/log/client_logs # date +%z
CET
root@nimmsag: /var/cfengine/delta_reporting/log/client_logs # date +%Z
CET

when setting the magic envvar it works within standards.

root@nimmsag: /var/cfengine/delta_reporting/log/client_logs # export XPG_SUS_ENV=ON
root@nimmsag: /var/cfengine/delta_reporting/log/client_logs # date +%z
+0100
root@nimmsag: /var/cfengine/delta_reporting/log/client_logs # date +%Z
CET

@neilhwatson neilhwatson changed the title Add Test that %Z returns numeric timezone Add Test that %z returns numeric timezone Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants