summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/utils.txt')
-rw-r--r--docs/ref/utils.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 69af23ad83..1c42784d13 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -147,6 +147,15 @@ The functions defined in this module share the following properties:
``P4DT1H15M20S`` which is equivalent to ``4 1:15:20``) or PostgreSQL's
day-time interval format (e.g. ``3 days 04:05:06``).
+ .. admonition:: Years and months not supported
+
+ ISO 8601 years (``Y``) and months (``M``) are unsupported as they
+ cannot be represented by :class:`~datetime.timedelta`.
+
+ .. versionchanged:: 6.1
+
+ ISO 8601 duration parsing now supports weeks (``PnW``).
+
``django.utils.decorators``
===========================