From 25dbd0c04ff145575282d308609e90d87d9bf06c Mon Sep 17 00:00:00 2001 From: Dimitri Molenaars Date: Fri, 8 Aug 2014 20:38:14 +0200 Subject: [PATCH] [Clock]Display timeformat correctly when informing of the net format. Fixes #585 --- willie/modules/clock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/willie/modules/clock.py b/willie/modules/clock.py index 3fd70e6176..4c71a9b8d5 100644 --- a/willie/modules/clock.py +++ b/willie/modules/clock.py @@ -97,7 +97,7 @@ def update_user_format(bot, trigger): tz = get_timezone(bot.db, bot.config, None, None, trigger.sender) try: - timef = format_time(zone=tz) + timef = format_time(db = bot.db, zone=tz, nick=trigger.nick) except: bot.reply("That format doesn't work. Try using" " http://strftime.net to make one.")