把Github,stackoverflow等网站的时间转换为ISO格式,方便阅读。
< 脚本易读时间日期 for Github和StackOverflow等网站的反馈
将 replaceTime 函数替换为如下来可以修复当前bug
replaceTime
Update replaceTime function to fix bug
function replaceTime(){ var time_list = document.querySelectorAll("relative-time"); time_list.forEach(function(ele) { console.log(ele); let t = new Date(ele.title); let t_str = t.toLocaleString(); ele.title = t_str; }) }
登录(不可用)以发表回复。
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
将
replaceTime
函数替换为如下来可以修复当前bugUpdate
replaceTime
function to fix bug