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

Change default timezone from America/Toronto to UTC-0 to align with docker image timezone #285

Closed
heurtematte opened this issue Jul 5, 2023 · 4 comments

Comments

@heurtematte
Copy link
Contributor

The Jiro default timezone is America/Toronto set in code here

The main problem with this setting is when it comes to deal with job based on a docker image with a different timezone.
So there is a difference between the UI and the job log generated by the docker image, which can quickly lead to confusion.

I.E: jenkins UI with job #46 started at 07:28
image

Job log start at: 13:28
image

It might be great to align the jenkins timezone with something more in common, and understandable by all like UTC-0 with no DST.

@fredg02
Copy link
Contributor

fredg02 commented Jul 10, 2023

This is caused by the configuration of the timestamps plugin:
image
If you deactivate the "Use browser timezone" checkbox in the console log, the timezones in the build history and in the console log match.

Since most of our servers are physically located in the EST/EDT timezone, I'd recommend that we stick to that.

@fredg02 fredg02 closed this as completed Jul 10, 2023
@pstankie
Copy link
Contributor

I think we should re-evaluated changing default timezone to UTC.

This is how it looks with "default" TZ set in Jenkins:
Screenshot 2023-07-31 at 10 41 10
As you can see, even in the same dashboard times are different.

@fredg02
Copy link
Contributor

fredg02 commented Aug 2, 2023

To be honest, I never noticed that and so it never bothered me. I would consider this a bug in Jenkins, but not a reason to abandon timezones. 😉

@fredg02
Copy link
Contributor

fredg02 commented Aug 3, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants