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

test: time difference with time zone #22782

Merged
merged 4 commits into from
Jun 16, 2023
Merged

test: time difference with time zone #22782

merged 4 commits into from
Jun 16, 2023

Conversation

l0b0
Copy link
Contributor

@l0b0 l0b0 commented Jun 14, 2023

Changes

None.

Context

By testing without a time zone, the original test worked differently based on the local time zone of the machine running the test. This is presumably because of a summer time/winter time difference, because changing the date from 2020-10-10 to 2020-05-10 without setting the time zone also makes the test pass on my machine (Pacific/Auckland time zone).

Documentation

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

Victor Engmark and others added 4 commits June 15, 2023 09:49
By testing without a time zone, the original test worked differently
based on the local time zone of the machine running the test. This is
presumably because of a summer time/winter time difference, because
changing the date from `2020-10-10` to `2020-05-10` without setting the
time zone also makes the test pass on my machine (Pacific/Auckland time
zone).
@viceice viceice added this pull request to the merge queue Jun 16, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 16, 2023
@viceice viceice added this pull request to the merge queue Jun 16, 2023
@viceice viceice removed this pull request from the merge queue due to a manual request Jun 16, 2023
@viceice viceice changed the title fix: Test time difference with time zone test: Test time difference with time zone Jun 16, 2023
@viceice viceice changed the title test: Test time difference with time zone test: time difference with time zone Jun 16, 2023
@viceice viceice added this pull request to the merge queue Jun 16, 2023
Merged via the queue into renovatebot:main with commit b9dc2f3 Jun 16, 2023
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 35.121.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

zharinov pushed a commit to zharinov/renovate that referenced this pull request Jun 16, 2023
@l0b0 l0b0 deleted the fix/test-time-diff-with-time-zone branch June 18, 2023 20:47
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants