From d65ad614b3b067b673f5782b454d779a2da829e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Tue, 19 Nov 2019 14:38:51 +0100 Subject: [PATCH] Replace the %date% output with Year-Month-Day Instead of some locale-specific format --- plugins/replace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):