From 649b28eab6765cd6b2b40c779a18ecafc99b43d7 Mon Sep 17 00:00:00 2001 From: Lily Foote Date: Sun, 25 Sep 2022 13:32:05 +0100 Subject: Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL. --- docs/ref/models/database-functions.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt index e9a0736b5b..bdbecec2e9 100644 --- a/docs/ref/models/database-functions.txt +++ b/docs/ref/models/database-functions.txt @@ -495,6 +495,11 @@ Usage example:: ``Now()`` uses ``STATEMENT_TIMESTAMP`` instead. If you need the transaction timestamp, use :class:`django.contrib.postgres.functions.TransactionNow`. +.. versionchanged:: 4.2 + + Support for microsecond precision on MySQL and millisecond precision on + SQLite were added. + ``Trunc`` --------- -- cgit v1.3