mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation timeline.
This commit is contained in:
parent
3d716467a9
commit
cb2be9d5d5
4 changed files with 3 additions and 69 deletions
|
@ -835,15 +835,6 @@ appropriate entities.
|
|||
|
||||
:class:`~datetime.tzinfo` instance that represents UTC.
|
||||
|
||||
.. class:: FixedOffset(offset=None, name=None)
|
||||
|
||||
A :class:`~datetime.tzinfo` subclass modeling a fixed offset from UTC.
|
||||
``offset`` is an integer number of minutes east of UTC.
|
||||
|
||||
.. deprecated:: 2.2
|
||||
|
||||
Use :class:`datetime.timezone` instead.
|
||||
|
||||
.. 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