MT Override Date to Beijing Time

Override JavaScript's Date object to always use Beijing time (UTC+8)

目前為 2024-04-25 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/493489/1366373/MT%20Override%20Date%20to%20Beijing%20Time.js

作者
shichent
版本
0.1
建立日期
2024-04-25
更新日期
2024-04-25
尺寸
1.5 KB
授權條款
MIT

如果你的电脑时区不是北京时间(UTC+8),MT不能正确显示已去时间,菠菜截止时间,种子用户最后报告时间等。例如,对于本地时间是美国东部时间的用户,刚发布1分钟的种子,MT会显示发布时间为“12小时内”。

这个脚本可以将MT读取到的本地时间改为北京时间,从而正确显示已去时间。

注意,MT网页上所有时间仍按北京时间显示

The "Elapsed time" function is not working correctly if your local time zone is not Beijing Time (UTC+8). This script changes the time zone setting on MT webpages, so elapsed time is correct.

Note that Occurrence time is still displayed in Beijing Time (UTC+8).

This script is generated by ChatGPT4.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址