summaryrefslogtreecommitdiff
path: root/django/utils/dateparse.py
AgeCommit message (Collapse)Author
2017-01-14Fixed #27699 -- Added negative timedelta support to parse_duration()Jinank Jain
2016-07-14Fixed #26656 -- Added duration (timedelta) support to DjangoJSONEncoder.Will Hardy
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-12-08Fixed #23968 -- Replaced list comprehension with generators and dict ↵Jon Dufresne
comprehension
2014-06-12Fixed #22814 -- Allowed ISO-8601 [+-]hh timezone format in parse_datetimeRichard Eames
2013-11-02Correct flake8 E302 violationsRay Ashman Jr
2013-09-09Refactored code and tests that relied on django.utils.tzinfo.Aymeric Augustin
Refs #17262.
2012-08-19Fixed #18728 -- Made colon optional in tzinfoAymeric Augustin
Made two-digit hours and minutes mandatory in tzinfo (the code used to crash if a one-digit representation was provided). Added standalone tests for django.utils.dateparse.
2012-08-19Removed an inaccurate statementAymeric Augustin
in docstrings of dateparse functions.
2012-08-07[py3] Fixed access to dict keys/values/items.Aymeric Augustin
2011-12-17Negligible spacing cleanup in utils/dateparse.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18Added support for time zones. Thanks Luke Plant for the review. Fixed #2626.Aymeric Augustin
For more information on this project, see this thread: http://groups.google.com/group/django-developers/browse_thread/thread/cf0423bbb85b1bbf git-svn-id: http://code.djangoproject.com/svn/django/trunk@17106 bcc190cf-cafb-0310-a4f2-bffc1f526a37