utils: Rename age to timestamp in server_ts_to_weechat.

This commit is contained in:
poljar (Damir Jelić) 2018-03-06 17:18:30 +01:00
parent dc25487127
commit 16a2215cfc

View file

@ -113,9 +113,9 @@ def color_for_tags(color):
return color return color
def server_ts_to_weechat(age): def server_ts_to_weechat(timestamp):
# type: (float) -> int # type: (float) -> int
date = int(age / 1000) date = int(timestamp / 1000)
return date return date