mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #32365 -- Deprecated django.utils.timezone.utc.
This commit is contained in:
parent
baf9604ed8
commit
59ab3fd0e9
6 changed files with 50 additions and 4 deletions
|
@ -843,6 +843,11 @@ appropriate entities.
|
|||
|
||||
:class:`~datetime.tzinfo` instance that represents UTC.
|
||||
|
||||
.. deprecated:: 4.1
|
||||
|
||||
This is an alias to :attr:`datetime.timezone.utc`. Use
|
||||
:attr:`datetime.timezone.utc` directly.
|
||||
|
||||
.. function:: get_fixed_timezone(offset)
|
||||
|
||||
Returns a :class:`~datetime.tzinfo` instance that represents a time zone
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue