-
Notifications
You must be signed in to change notification settings - Fork 464
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 fail on 31st of a month #1053
Comments
mweinelt
added a commit
to mweinelt/nixpkgs
that referenced
this issue
Sep 1, 2022
The dateparser module has a test that works with the current day of the month and uses it in June 2020. This breaks everytime we build the package on the 31st of a month, because June only has 30 days. ``` ❯ cal 6 2020 Juni 2020 Mo Di Mi Do Fr Sa So 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ``` scrapinghub/dateparser#1053
13 tasks
github-actions bot
pushed a commit
to NixOS/nixpkgs
that referenced
this issue
Sep 1, 2022
The dateparser module has a test that works with the current day of the month and uses it in June 2020. This breaks everytime we build the package on the 31st of a month, because June only has 30 days. ``` ❯ cal 6 2020 Juni 2020 Mo Di Mi Do Fr Sa So 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ``` scrapinghub/dateparser#1053 (cherry picked from commit 0cece84)
RaitoBezarius
pushed a commit
to RaitoBezarius/nixpkgs
that referenced
this issue
Sep 17, 2022
The dateparser module has a test that works with the current day of the month and uses it in June 2020. This breaks everytime we build the package on the 31st of a month, because June only has 30 days. ``` ❯ cal 6 2020 Juni 2020 Mo Di Mi Do Fr Sa So 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ``` scrapinghub/dateparser#1053
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not every month has 31 days. Tests ran v1.1.0.
The text was updated successfully, but these errors were encountered: