utils: Rename age to timestamp in server_ts_to_weechat.
This commit is contained in:
parent
dc25487127
commit
16a2215cfc
1 changed files with 2 additions and 2 deletions
|
@ -113,9 +113,9 @@ def color_for_tags(color):
|
|||
return color
|
||||
|
||||
|
||||
def server_ts_to_weechat(age):
|
||||
def server_ts_to_weechat(timestamp):
|
||||
# type: (float) -> int
|
||||
date = int(age / 1000)
|
||||
date = int(timestamp / 1000)
|
||||
return date
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue