Use ISO 8601 date format in the day_change plugin

This commit is contained in:
Florent Le Coz 2013-04-24 00:15:41 +02:00
parent 9661854611
commit 9d6acb0d7e

View file

@ -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