summaryrefslogtreecommitdiff
path: root/django/utils/datetime_safe.py
AgeCommit message (Collapse)Author
2022-10-31Used more augmented assignment statements.Nick Pope
Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]'
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-05-12Fixed #32738 -- Deprecated django.utils.datetime_safe module.Nick Pope
2021-05-12Refs #32738, Refs #29600, Refs #29595 -- Removed unused ↵Nick Pope
django.utils.datetime_safe.time(). Unused since c72dde41e603093ab0bb12fa24fa69cfda0d35f9.
2020-05-11Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne
The method has been available since Python 3.6. The shorter syntax is also marginally faster.
2020-04-27Removed unnecessary tuple wrapping of single format string argument.François Freitag
2019-10-29Fixed #30899 -- Lazily compiled import time regular expressions.Hasan Ramezani
2018-08-02Refs #29600 -- Updated django.utils.datetime_safe now that Python 2 is ↵Tim Graham
unsupported.
2018-01-08Improved readability of utils.datetime_safe._findall().Srinivas Reddy Thatiparthy
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-22Fixed #23998 -- Added datetime.time support to migrations questioner.Oscar Ramirez
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-11-02Correct flake8 E302 violationsRay Ashman Jr
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-10-23Fixed E225 pep8 warnings.Tim Graham
2013-10-13Fixed #21256 -- Error in datetime_safe.datetime.combine.Aymeric Augustin
2010-02-13Fixed #12524 -- Clarified handling of pre-1000AD dates in datetime_safe (and ↵Russell Keith-Magee
thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18Fixed #1443 -- Django's various bits now support dates before 1900. Thanks ↵Adrian Holovaty
to SmileyChris, Chris Green, Fredrik Lundh and others for patches and design help git-svn-id: http://code.djangoproject.com/svn/django/trunk@7946 bcc190cf-cafb-0310-a4f2-bffc1f526a37