wdvxdr1123 / ZeroBot

一个基于onebot协议的机器人Go开发框架
GNU General Public License v3.0
326 stars 71 forks source link

不能使用Unix函数不然会出现1724549975这样的错误返回数据 #85

Closed xyy0411 closed 1 month ago

xyy0411 commented 1 month ago

有没有一种可能,是让你

lt := time.Unix(timestamp, 0)

还原time.Time实例,然后随便你怎么处理。把时间戳1724549975当“错误数据”就是缺乏计算机常识了,建议先搜索一下什么是时间戳。

懂了