fix(tools): 修复时间格式化函数处理时区的问题
重构 formatDatetime 函数,增加对时区后缀的处理,确保时间显示为当地时间 统一使用 dayjs 进行时间格式化,提高代码可维护性
Showing
2 changed files
with
44 additions
and
19 deletions
-
Please register or login to post a comment
重构 formatDatetime 函数,增加对时区后缀的处理,确保时间显示为当地时间 统一使用 dayjs 进行时间格式化,提高代码可维护性