summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-04-24 00:15:41 +0200
committerFlorent Le Coz <louiz@louiz.org>2013-04-24 00:15:41 +0200
commit9d6acb0d7e0fbf55448a9016018e3b33ff3facf2 (patch)
tree0143ba5a48223f69125fb46969cea2e7f388c140
parent9661854611617a06479a6d21bf6608d2faf07046 (diff)
downloadpoezio-9d6acb0d7e0fbf55448a9016018e3b33ff3facf2.tar.gz
poezio-9d6acb0d7e0fbf55448a9016018e3b33ff3facf2.tar.bz2
poezio-9d6acb0d7e0fbf55448a9016018e3b33ff3facf2.tar.xz
poezio-9d6acb0d7e0fbf55448a9016018e3b33ff3facf2.zip
Use ISO 8601 date format in the day_change plugin
-rw-r--r--plugins/day_change.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/day_change.py b/plugins/day_change.py
index d9cd3197..91c298f7 100644
--- a/plugins/day_change.py
+++ b/plugins/day_change.py
@@ -30,7 +30,7 @@ class Plugin(BasePlugin):
self.api.add_timed_event(self.next_event)
def day_change(self):
- msg = datetime.date.today().strftime(_("Day changed to %x"))
+ msg = _("Day changed to %s") % (datetime.date.today().isoformat())
for tab in self.core.tabs:
if (isinstance(tab, tabs.MucTab) or