-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
How to set the locale/timezone? #4263
Comments
Hi @yuis-ice do you use the Docker container? If you add |
Hi, I tried it but looks not working.
Thanks for your help. |
Hi @yuis-ice what OS are you using when you run the containers? |
Hi, it's Ubuntu 20.04.4 |
Looking at https://stackoverflow.com/questions/24551592/how-to-make-sure-dockers-time-syncs-with-that-of-the-host it seems people uses |
What about adding the -e TZ=“Asia/Tokyo” parameter to the docker? |
It still doesn't work with $ docker run --rm -v "$(pwd)":/sitespeed.io -e TZ=“Asia/Tokyo” sitespeedio/sitespeed.io https://mysite.com
Google Chrome 127.0.6533.72
Mozilla Firefox 128.0
Microsoft Edge 126.0.2592.113
[2024-09-02 16:50:55] INFO: Versions OS: linux 5.15.0-105-generic nodejs: v20.15.1 sitespeed.io: 34.9.0 browsertime: 22.8.0 coach: 8.0.2
[2024-09-02 16:50:55] INFO: Running tests using Chrome - 3 iteration(s)
$ date
Tue 03 Sep 2024 01:52:16 AM JST |
Hmm strange, adding TZ works for me (my base OS is a Mac):
|
Your question
Hi. The docker result/export html date shows different time from my time (Japan), and from the computer also. How to set the locale, time, date, timezone?
The text was updated successfully, but these errors were encountered: