Skip to content

Commit

Permalink
[seen] Output time in requesting user's timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed Mar 5, 2013
1 parent c022df3 commit 7e0806e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seen.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def seen(willie, trigger):
channel = seen_dict[nick]['channel']
message = seen_dict[nick]['message']

tz = get_tz(willie, nick)
tz = get_tz(willie, trigger.nick)
saw = datetime.datetime.fromtimestamp(timestamp, pytz.timezone(tz))
timestamp = saw.strftime('%Y-%m-%d %H:%M:%S %Z')

Expand Down

0 comments on commit 7e0806e

Please sign in to comment.