你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/493489-%E6%AD%A4%E8%84%9A%E6%9C%AC%E5%B7%B2%E5%81%9C%E6%AD%A2%E4%BD%BF%E7%94%A8-mt-convert-to-local-time,源站連結 點此以跳轉。
Override JavaScript's Date object to always use Beijing time (UTC+8)
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org.cn/scripts/493489/1366339/MT%20Override%20Date%20to%20Beijing%20Time.js
如果你的电脑时区不是北#时间(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 co-written with ChatGPT4.