ShoiLyaung

Results 2 comments of ShoiLyaung

> https://github.com/MCSManager/MCSManager/blob/5aed7fb33d790cf7f81324a3514256bfe291825f/src/app/service/log.ts#L45C3-L50C3 > > 确认一下,你现在的问题是日志时间和服务端显示时间不同。 > > 日志的实现用的是 log4js。你可以先开一个node试试上面这两个函数,排除node的问题,再去检查是不是log4js的问题。 我写了个脚本单独测试了一下这两个函数,返回的时间是正确的服务端时间, ![image](https://github.com/MCSManager/MCSManager/assets/60540798/5b32c46d-638d-4fc6-953a-60ea8078c843) 但实例中的日志时间还是少8个小时。 ![image](https://github.com/MCSManager/MCSManager/assets/60540798/4b66da0f-cb86-4c5d-9f8f-4627aa715bcb) 环境:Docker 面板版本:9.9.0 node版本:v14.21.3