mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #34070 -- Added subsecond support to Now() on SQLite and MySQL.
This commit is contained in:
parent
f71b0cf769
commit
649b28eab6
5 changed files with 39 additions and 2 deletions
|
@ -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``
|
||||
---------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue