replystr='last saw {0:s} in {3:s} at {1:s} saying \'{2:s}\'.'.format(result['nick'],seentime.astimezone(tzlocal()).strftime('%Y/%m/%d%H:%M:%S %Z'),result['what'].encode('utf-8','ignore'),result['location'].encode('utf-8','ignore'))
replystr='last saw {0:s} in {3:s} at {1:s} saying \'{2:s}\'.'.format(result['nick'],seentime.astimezone(tzlocal()).strftime('%Y/%m/%d%H:%M:%S %Z'),result['what'],result['location'])
returnself.reply(connection,event,replystr)
else:
returnself.reply(connection,event,'i have not seen {0:s} in {1:s}.'.format(nick,where))