Use consistent timezone in jest #5063
Labels
category: engineering
For product engineering, architecture work, tech debt and so on.
needs prioritisation
Triage finished and issues are ready for the following processing.
type: technical debt
This issue/PR represents/solves the technical debt of the project.
Describe the bug
Currently we use EST as
TZ
(ref). EST timezone has daylight saving time. This causes GitHub check to fail when there is daylight saving time change.For example on Nov 6th, 2022, without any code change, GitHub checks that were green (can be seen from this PR and here's the direct link to the green GH check) that was committed as b33be3a became red (can be seen from this my test PR and here's the direct link to the failed GH check).
I think changing the global environment variable TZ to
UTC
will solve the problem. Some expected values from several tests need to be updated though.The text was updated successfully, but these errors were encountered: