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

[🐛 Bug]: TimeZone change behavior changed #1888

Closed
Zoupers opened this issue Jul 13, 2023 · 6 comments · Fixed by #2031
Closed

[🐛 Bug]: TimeZone change behavior changed #1888

Zoupers opened this issue Jul 13, 2023 · 6 comments · Fixed by #2031

Comments

@Zoupers
Copy link

Zoupers commented Jul 13, 2023

What happened?

take a look at https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1554806

Here is what happend to me.
image

Command used to start Selenium Grid with Docker

You can try to set timezone in the container like the way in the Dockerfile, and you will find it not work.

Relevant log output

No

Operating System

Ubuntu

Docker Selenium version (tag)

selenium/standalone-chrome:114.0-20230614

@github-actions
Copy link

@Zoupers, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Jul 13, 2023

Would you like to send a pull request?

@Zoupers
Copy link
Author

Zoupers commented Jul 13, 2023

Cool, I will have a try.

VietND96 added a commit to NDViet/docker-selenium that referenced this issue Nov 28, 2023
@VietND96
Copy link
Member

VietND96 commented Nov 28, 2023

Hi @Zoupers, I made a PR #2031 updated this with the result is

Step 7/19 : RUN ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime &&     dpkg-reconfigure -f noninteractive tzdata &&     cat /etc/timezone
 ---> Running in 5ddabe277c0d

Current default time zone: 'Asia/Shanghai'
Local time is now:      Wed Nov 29 03:16:57 CST 2023.
Universal Time is now:  Tue Nov 28 19:16:57 UTC 2023.

Asia/Shanghai

Can you please confirm if this corrects your expectations?

diemol pushed a commit that referenced this issue Nov 29, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants