Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL.

This commit is contained in:
Lily Foote 2022-09-25 13:32:05 +01:00 committed by Mariusz Felisiak
parent f71b0cf769
commit 649b28eab6
5 changed files with 39 additions and 2 deletions

View file

@ -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``
---------