summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_dateparse.py
AgeCommit message (Collapse)Author
2025-01-20Fixed #36005 -- Dropped support for Python 3.10 and 3.11.Mariusz Felisiak
2024-01-09Fixed #35097 -- Tested parse_datetime() with bare date.Tim Graham
Regression test for behavior change in f35ab74752adb37138112657c1bc8b91f50e799b.
2022-05-09Refs #33173 -- Fixed test_dateparse tests on Python 3.11+.Mariusz Felisiak
date/datetime/time.fromisoformat() support any valid ISO 8601 format in Python 3.11+, see https://github.com/python/cpython/issues/80010.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-12-20Fixed #33368 -- Fixed parse_duration() crash on invalid separators for ↵mendespedro
decimal fractions.
2021-07-07Fixed #32904 -- Made parse_time() more strict.abhiabhi94
Thanks Keryn Knight for the report.
2021-07-06Added more tests for parse_time().Keryn Knight
2021-06-24Fixed #32727 -- Allowed spaces before time zone offset in parse_datetime().Ben Wilber
2020-12-21Fixed #32269 -- Fixed parse_duration() for negative days in ISO 8601 format.starryrbs
2020-12-21Added more assertions for parse_duration() with negative timedeltas.starryrbs
2019-11-27Fixed #30803 -- Allowed comma separators for milliseconds in ↵Farhaan Bukhsh
django.utils.dateparse functions. Co-Authored-By: Ben Wilber <benwilber@gmail.com>
2019-11-27Refs #30803 -- Allowed comma separators for decimal fractions in ↵Farhaan Bukhsh
parse_duration().
2019-02-23Fixed #30141 -- Fixed parse_duration() for some negative durations.Seunghun Lee
2017-07-03Fixed #28076 -- Added support for PostgreSQL's interval format to ↵Matthew Schinckel
parse_duration().
2017-07-03Refs #27804 -- Used subTest() in dateparse tests.Matthew Schinckel
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-14Fixed #27699 -- Added negative timedelta support to parse_duration()Jinank Jain
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-06-02Fixed #24897 -- Allowed using choices longer than 1 day with DurationFieldzauddelig
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-20Fixed #2443 -- Added DurationField.Marc Tamlyn
A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
2014-06-12Fixed #22814 -- Allowed ISO-8601 [+-]hh timezone format in parse_datetimeRichard Eames
2013-09-09Refactored code and tests that relied on django.utils.tzinfo.Aymeric Augustin
Refs #17262.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-04-12Modified utils_tests for unittest2 discovery.Preston Timmons