mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
Fixed #23832 -- Added timezone aware Storage API.
New Storage.get_{accessed,created,modified}_time() methods convert the
naive time from now-deprecated {accessed,created_modified}_time()
methods into aware objects in UTC if USE_TZ=True.
This commit is contained in:
parent
eda306f1ce
commit
1ff6e37de4
7 changed files with 390 additions and 36 deletions
|
|
@ -135,6 +135,9 @@ details on these changes.
|
|||
|
||||
* Support for the template ``Context.has_key()`` method will be removed.
|
||||
|
||||
* Support for the ``django.core.files.storage.Storage.accessed_time()``,
|
||||
``created_time()``, and ``modified_time()`` methods will be removed.
|
||||
|
||||
.. _deprecation-removed-in-1.10:
|
||||
|
||||
1.10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue