summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 036e5aa639..335ad3a49c 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -155,7 +155,7 @@ The functions defined in this module share the following properties:
Parses a string and returns a :class:`datetime.datetime`.
UTC offsets are supported; if ``value`` describes one, the result's
- ``tzinfo`` attribute is a :class:`~django.utils.tzinfo.FixedOffset`
+ ``tzinfo`` attribute is a :class:`~django.utils.timezone.FixedOffset`
instance.
``django.utils.decorators``
@@ -843,6 +843,13 @@ appropriate entities.
:class:`~datetime.tzinfo` instance that represents UTC.
+.. class:: FixedOffset(offset=None, name=None)
+
+ .. versionadded:: 1.7
+
+ A :class:`~datetime.tzinfo` subclass modeling a fixed offset from UTC.
+ ``offset`` is an integer number of minutes east of UTC.
+
.. function:: get_fixed_timezone(offset)
.. versionadded:: 1.7