Administrator
2025-06-09 1e16e3fdc6fafc66c4a0ae168d1b4e46b61e5a70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import time
from l2 import l2_data_util
 
def money_desc(money):
    if abs(money) >= 100000000:
        return f"{round(money / 100000000, 2)}亿"
    else:
        return f"{round(money / 10000, 2)}万"
 
 
def time_format(timestamp):
    if timestamp:
        return time.strftime("%H:%M:%S", time.localtime(int(timestamp)))
    return ""