-
Notifications
You must be signed in to change notification settings - Fork 156
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
Tests are dependent on local timezone settings #41
Comments
Hi, we've encountered the same issue (the first variant) as part of the debian reproducible builds initiative: |
Does setting TZ env var to a well-defined value fixes the issue ?
etc... |
Yep, that fixes the tests. This:
fails whereas this:
pass ! I consider this a workaround but enough for the Debian bug. Probably it would be best to solve the underlying issue though. |
Note that
so fixing this might be a bit weirder than it looks. |
This is still true, especially with node 10.15 where UTC does not appear in timezones, only GMT+xxxx |
I was running the tests locally by request of someone in the #Node.js IRC channel and noticed that I got a different set of test failures depending on the timezone settings of my computer.
With timezone set to GMT (my normal timezone):
With my timezone set to EST:
The text was updated successfully, but these errors were encountered: