summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2019-11-19 14:38:51 +0100
committerlouiz’ <louiz@louiz.org>2019-11-19 14:38:51 +0100
commitd65ad614b3b067b673f5782b454d779a2da829e7 (patch)
treeaaf4880f83a3a15fc42c074322ac1cb3d22cf1db
parent47765d0d40a185c4f8866bb0f22a825efbf5b193 (diff)
downloadpoezio-d65ad614b3b067b673f5782b454d779a2da829e7.tar.gz
poezio-d65ad614b3b067b673f5782b454d779a2da829e7.tar.bz2
poezio-d65ad614b3b067b673f5782b454d779a2da829e7.tar.xz
poezio-d65ad614b3b067b673f5782b454d779a2da829e7.zip
Replace the %date% output with Year-Month-Day
Instead of some locale-specific format
-rw-r--r--plugins/replace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/replace.py b/plugins/replace.py
index 9646a817..02059a18 100644
--- a/plugins/replace.py
+++ b/plugins/replace.py
@@ -91,7 +91,7 @@ def replace_time(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):