mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation timeline.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -230,6 +230,8 @@ in Django 3.1.
|
||||
See :ref:`deprecated-features-2.2` for details on these changes, including how
|
||||
to remove usage of these features.
|
||||
|
||||
* ``django.utils.timezone.FixedOffset`` is removed.
|
||||
|
||||
* ``django.contrib.postgres.fields.FloatRangeField`` and
|
||||
``django.contrib.postgres.forms.FloatRangeField`` are removed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user