Replace the %date% output with Year-Month-Day
Instead of some locale-specific format
This commit is contained in:
parent
47765d0d40
commit
d65ad614b3
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def replace_time(message, tab):
|
||||||
|
|
||||||
|
|
||||||
def replace_date(message, tab):
|
def replace_date(message, tab):
|
||||||
return datetime.datetime.now().strftime("%x")
|
return datetime.datetime.now().strftime("%Y-%m-%d")
|
||||||
|
|
||||||
|
|
||||||
def replace_datetime(message, tab):
|
def replace_datetime(message, tab):
|
||||||
|
|
Loading…
Reference in a new issue