修改rank 页面的bug(对于没有有效时间的用户时间格式转换失败),添加mq对first_achieved的支持
This commit is contained in:
@@ -393,6 +393,8 @@ def _cmp(x, y):
|
||||
|
||||
|
||||
def get_the_time_format(seconds):
|
||||
if not seconds:
|
||||
return ""
|
||||
result = str(seconds % 60)
|
||||
if seconds % 60 < 10:
|
||||
result = "0" + result
|
||||
|
||||
Reference in New Issue
Block a user