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

date: --universal not working #6495

Closed
rrconkle opened this issue Jun 25, 2024 · 0 comments · Fixed by #6503
Closed

date: --universal not working #6495

rrconkle opened this issue Jun 25, 2024 · 0 comments · Fixed by #6503
Labels

Comments

@rrconkle
Copy link

--universal(or --utc) doesn't work to set the time zone to UTC
TZ=Etc/UTC still works

$ uu-date --universal --date @0
Wed Dec 31 19:00:00 1969

$ TZ=Etc/UTC uu-date --date @0
Thu Jan  1 00:00:00 1970

#GNU
$ date --universal --date @0
Thu Jan  1 00:00:00 UTC 1970
mengshengwu pushed a commit to mengshengwu/coreutils that referenced this issue Jun 28, 2024
cakebaker added a commit that referenced this issue Jun 28, 2024
date: fix date get timezone error while set utc time (#6495)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants