Skip to content

Commit

Permalink
[Clock]Display timeformat correctly when informing of the net format.
Browse files Browse the repository at this point in the history
Fixes #585
  • Loading branch information
tyrope committed Aug 8, 2014
1 parent f383ef2 commit 25dbd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion willie/modules/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 25dbd0c

Please sign in to comment.