summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorSigurd Ljødal <sigurd@ljodal.no>2017-09-28 22:28:48 +0200
committerTim Graham <timograham@gmail.com>2018-08-18 13:09:15 -0400
commit3e09b37f80ab34cf57e245e1fcdabb3d4ff92a38 (patch)
tree7b56c5caeb4d6ebe6b5075c711c36a0572419c6f /docs/releases
parentc832885a3e8659d4a704bf103d523b610c24e4ec (diff)
Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/2.2.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt
index 4d5b763edf..307a2b6a06 100644
--- a/docs/releases/2.2.txt
+++ b/docs/releases/2.2.txt
@@ -189,6 +189,11 @@ Models
:meth:`.QuerySet.bulk_create` to ``True`` tells the database to ignore
failure to insert rows that fail uniqueness constraints or other checks.
+* The new :class:`~django.db.models.functions.ExtractIsoYear` function extracts
+ ISO-8601 week-numbering years from :class:`~django.db.models.DateField` and
+ :class:`~django.db.models.DateTimeField`, and the new :lookup:`iso_year`
+ lookup allows querying by an ISO-8601 week-numbering year.
+
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~