| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-19 | [3.2.x] Refs #32365 -- Allowed use of non-pytz timezone implementations. | Paul Ganssle | |
| Backport of 10d126198434810529e0220b0c6896ed64ca0e88 from master | |||
| 2019-09-10 | Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation ↵ | Mariusz Felisiak | |
| timeline. | |||
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | |||
| 2018-09-26 | Refs #29784 -- Switched to https:// links where available. | Jon Dufresne | |
| 2018-07-09 | Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset. | Sergey Fedoseev | |
| 2018-06-28 | Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for ↵ | Tim Graham | |
| better performance." This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a regression. | |||
| 2018-03-20 | Used datetime.timezone.utc instead of pytz.utc for better performance. | Sergey Fedoseev | |
| 2018-03-03 | Refs #17476 -- Removed obsolete simplification of timezone names in cache ↵ | Sergey Fedoseev | |
| key generation. | |||
| 2017-10-24 | Fixed #28739 -- Fixed get_fixed_timezone() for negative timedeltas. | medmunds | |
| 2017-06-20 | Fixed #28323 -- Removed unneeded normalize() in timezone.localtime() and ↵ | Tim Graham | |
| make_naive(). | |||
| 2017-02-11 | Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-19 | Refs #23919 -- Removed usage of django.utils.decorators.ContextDecorator. | Chillar Anand | |
| 2017-01-18 | Refs #23919 -- Stopped using django.utils.lru_cache(). | Aymeric Augustin | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-11-07 | Fixed #27138 -- Restored pre-Python 3.6 behavior of localtime() and ↵ | Joachim Jablon | |
| make_naive() on Python 3.6. Reverted test changes in a7a7ecd2b026c61a39a46d2d7eced0e06a92c970 and e43ea36b7681e43ea99505a2cf7550d4d36016b3 (refs #27025). | |||
| 2016-10-27 | Fixed #27327 -- Simplified time zone handling by requiring pytz. | Tim Graham | |
| 2016-08-31 | Fixed #25181 -- Added localdate() function to get date in a different time zone. | Jon Dufresne | |
| Thanks Konrad Świat for the original patch. | |||
| 2016-04-04 | Fixed W503 flake8 warnings. | Tim Graham | |
| 2015-12-03 | Fixed #25761 -- Added __cause__.__traceback__ to reraised exceptions. | Raphaël Hertzog | |
| When Django reraises an exception, it sets the __cause__ attribute even in Python 2, mimicking Python's 3 behavior for "raise Foo from Bar". However, Python 3 also ensures that all exceptions have a __traceback__ attribute and thus the "traceback2" Python 2 module (backport of Python 3's "traceback" module) relies on the fact that whenever you have a __cause__ attribute, the recorded exception also has a __traceback__ attribute. This is breaking testtools which is using traceback2 (see https://github.com/testing-cabal/testtools/issues/162). This commit fixes this inconsistency by ensuring that Django sets the __traceback__ attribute on any exception stored in a __cause__ attribute of a reraised exception. | |||
| 2015-05-02 | Simplified the implementation of timezone.is_aware/naive. | Aymeric Augustin | |
| 2015-04-24 | Fixed #22598 -- Allowed make_aware() to work with ambiguous datetime | Josh Smeaton | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-11-19 | Simplified caching of get_default_timezone(). | Aymeric Augustin | |
| 2014-10-20 | Fixed #23668 -- Changed make_aware() and make_naive() to use the current ↵ | Jon Dufresne | |
| timezone by default Thanks Aymeric Augustin for review. | |||
| 2014-08-31 | Fixed #23388 -- Made django.utils.timezone.override usable as a decorator | Thomas Chaumeny | |
| 2014-08-28 | Fixed #23381 -- Context manager restored state should be determined in __enter__ | Thomas Chaumeny | |
| 2014-05-17 | Fixed several flake8 errors, including one where a test wouldn't be run | Alex Gaynor | |
| 2014-05-16 | Optimized make_aware/naive by removing redundant checks. Refs #22625. | Aymeric Augustin | |
| Also added tests with pytz and removed misplaced tests. | |||
| 2014-05-16 | Fixed #22625 -- Normalized make_aware/naive errors. | Aymeric Augustin | |
| Also added tests for is/make_aware/naive. Thanks Tom Michaelis for the report. | |||
| 2014-01-26 | Fixed #21880 -- Added missing items to django.utils.timezone.__all__. | Aymeric Augustin | |
| Thanks Wim for the report. | |||
| 2013-11-02 | Correct flake8 E302 violations | Ray Ashman Jr | |
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-09-09 | Fixed #17262 -- Refactored tzinfo implementations. | Aymeric Augustin | |
| This commit deprecates django.utils.tzinfo in favor of the more recent django.utils.timezone which was introduced when Django gained support for time zones. | |||
| 2013-09-08 | Fixed #18766 -- Pointed to pytz when LocalTimezone fails. | Aymeric Augustin | |
| Thanks void for the report. | |||
| 2013-02-11 | Accepted None in tzname(). | Aymeric Augustin | |
| This is required by the tzinfo API, see Python's docs. Also made _get_timezone_name deterministic. | |||
| 2013-01-31 | Fixed #19708 -- Exception in timezone.override(None). | Aymeric Augustin | |
| Thanks rafales. | |||
| 2012-07-22 | [py3] Replaced basestring by six.string_types. | Aymeric Augustin | |
| 2012-04-29 | Simplified timezones tests with settings_changed. | Aymeric Augustin | |
| All relevant state is now properly reset whenever TIME_ZONE or USE_TZ are changed in tests. | |||
| 2012-04-29 | Fixed #17992 -- Added a public API for localtime. | Aymeric Augustin | |
| Thanks Bradley Ayers for the report. | |||
| 2012-03-03 | Made django.utils.timezone.localtime a private API -- it's too specific to ↵ | Aymeric Augustin | |
| the template engine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17642 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-02-26 | Fixed #17715 -- Updated the tutorial for time zone support, plus a few other ↵ | Aymeric Augustin | |
| improvements. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17591 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2012-01-02 | Fixed a stupid bug in the implementation of timezone.make_aware. | Aymeric Augustin | |
| git-svn-id: http://code.djangoproject.com/svn/django/trunk@17332 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-12-23 | Fixed django.utils.timezone.__all__ to include correct function names. | Jannis Leidel | |
| git-svn-id: http://code.djangoproject.com/svn/django/trunk@17259 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-11-25 | Fixed #17294 -- Supported nullable DateTimeFields when time zone support is ↵ | Aymeric Augustin | |
| enabled. Thanks pressureman for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17148 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-11-21 | Fixed #17274 -- Accepted TIME_ZONE = None when USE_TZ = True. Thanks ↵ | Aymeric Augustin | |
| pressureman for the report. This problem only occured when pytz is installed. It's still strongly recommended to define the correct time zone in TIME_ZONE in order to use pytz' implementation and not the approximation based on system time. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17134 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-11-18 | Fixed #17255 -- Removed "as" prefix from new timezone template filter names ↵ | Jannis Leidel | |
| for the sake of clarity. Cheers to Aymeric Augustin for bearing with me. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17107 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
| 2011-11-18 | Added 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 | |||
