summaryrefslogtreecommitdiff
path: root/tests/humanize_tests
diff options
context:
space:
mode:
authorGianpaoloBranca <gianpaolo@protonmail.com>2023-01-04 11:14:06 +0100
committerGitHub <noreply@github.com>2023-01-04 11:14:06 +0100
commit8d67e16493c903adc9d049141028bc0fff43f8c8 (patch)
tree62d4b1215958ba12f8f538c9c6dcad9e30153eed /tests/humanize_tests
parent99bd5fb4c2d51f7bf8a19b2c12a603ab38b85ec9 (diff)
downloaddjango-8d67e16493c903adc9d049141028bc0fff43f8c8.tar.gz
Fixed #33879 -- Improved timesince handling of long intervals.
Diffstat (limited to 'tests/humanize_tests')
-rw-r--r--tests/humanize_tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/humanize_tests/tests.py b/tests/humanize_tests/tests.py
index 432314f795..cf29f58232 100644
--- a/tests/humanize_tests/tests.py
+++ b/tests/humanize_tests/tests.py
@@ -506,8 +506,8 @@ class HumanizeTests(SimpleTestCase):
# "%(delta)s from now" translations
now + datetime.timedelta(days=1),
now + datetime.timedelta(days=2),
- now + datetime.timedelta(days=30),
- now + datetime.timedelta(days=60),
+ now + datetime.timedelta(days=31),
+ now + datetime.timedelta(days=61),
now + datetime.timedelta(days=500),
now + datetime.timedelta(days=865),
]