mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Refs #34070 -- Fixed date format in Now() on SQLite.
Regression in 649b28eab6765cd6b2b40c779a18ecafc99b43d7.
This commit is contained in:
parent
3283120cca
commit
577dbcbb4f
@ -232,7 +232,7 @@ class Now(Func):
|
|||||||
return self.as_sql(
|
return self.as_sql(
|
||||||
compiler,
|
compiler,
|
||||||
connection,
|
connection,
|
||||||
template="STRFTIME('%%Y-%%m-%%d %%H:%%M:%%f', 'NOW')",
|
template="STRFTIME('%%%%Y-%%%%m-%%%%d %%%%H:%%%%M:%%%%f', 'NOW')",
|
||||||
**extra_context,
|
**extra_context,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user