summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_timesince.py
AgeCommit message (Collapse)Author
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2025-02-18Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.Mariusz Felisiak
datetime.UTC was added in Python 3.11.
2023-04-14Refs #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates on ↵Mariusz Felisiak
different days and interval less than 1 day. Follow up to 813015d67e2557fa859a07930a9becec4e5f64a0. Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.
2023-04-13Fixed #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates and ↵nessita
interval less than 1 day. Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8. Thanks Lorenzo Peña for the report.
2023-01-05Fixed #34243 -- Fixed timesince() crash with timezone-aware dates and ↵sag᠎e
interval longer than 1 month. Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.
2023-01-04Fixed #33879 -- Improved timesince handling of long intervals.GianpaoloBranca
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-04-10Fixed #31937 -- Eased translation of time strings in some languages.Claude Paroz
2020-07-16Fixed #31623 -- Allowed specifying number of adjacent time units in ↵Tim Park
timesince()/timeuntil().
2019-10-28Fixed #30918 -- Made timesince()/timeuntil() respect custom time strings for ↵Hasan Ramezani
future and the same datetimes.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-02Refs #27637 -- Fixed timesince, timeuntil on New Year's Eve in a leap year.vinay karanam
2016-12-27Fixed #27637 -- Fixed timesince, timeuntil in leap year edge case.Mariusz Felisiak
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2015-06-04Fixed #19210 -- Added leap year support to django.utils.timesince()Raphael Michel
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-10-05Fixed #21161 -- Timezone-related tests on Windows.Aymeric Augustin
Thanks Xelnor for the patch.
2013-09-09Refactored code and tests that relied on django.utils.tzinfo.Aymeric Augustin
Refs #17262.
2013-05-18Fixed #20246 -- Added non-breaking spaces between values an unitsEmil Stenström
2013-04-12Modified utils_tests for unittest2 discovery.Preston Timmons