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

Make time test relative to current time #613

Merged
merged 1 commit into from
Mar 14, 2022
Merged

Make time test relative to current time #613

merged 1 commit into from
Mar 14, 2022

Conversation

spenserblack
Copy link
Collaborator

This test was failing after a year, because it was testing a conversion
of 2020/09/13 to "a year ago." This changes the test to be relative to
the current time, and subtract roughly a year.

Fixes #612

This test was failing after a year, because it was testing a conversion
of 2020/09/13 to "a year ago." This changes the test to be relative to
the current time, and subtract roughly a year.

Fixes #612
@o2sh
Copy link
Owner

o2sh commented Mar 14, 2022

Maybe that was a Pi Day easter egg by @HallerPatrick 😄

Good catch! @spenserblack 🚀

@o2sh o2sh merged commit 2c1f2f0 into o2sh:main Mar 14, 2022
@HallerPatrick
Copy link
Contributor

Maybe that was a Pi Day easter egg by @HallerPatrick 😄

Good catch! @spenserblack 🚀

Happy Pi Day! Thanks for finding my (completely intentional) Easter egg @spenserblack

@spenserblack spenserblack deleted the bugfix/time-test branch March 14, 2022 22:07
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

Successfully merging this pull request may close these issues.

Test info::repo::tests::display_time_as_human_time_current_time_arbitrary can fail
3 participants