fix in formatdate when no date is passed
This commit is contained in:
parent
3ad812558c
commit
c995cc096a
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ def formatdate(string_date=None):
|
|||
if string_date:
|
||||
string_date = getdate(string_date)
|
||||
else:
|
||||
string_date = nowdate()
|
||||
string_date = now_datetime().date()
|
||||
|
||||
global user_format
|
||||
if not user_format:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue