Widget:UserStatus:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
| 第72行: | 第72行: | ||
} else if (result !== "") { | } else if (result !== "") { | ||
result += "00分"; | result += "00分"; | ||
} | |||
if (second > 0) { | |||
result += `0${second}秒`; | |||
} else if (result !== "") { | |||
result += "00秒"; | |||
} | } | ||
self.find(".UserStatusLastUpdatedInterval").text(result.replace(/^0(?=\d)/, "").replace(/0(?=\d{2,})/g, "") + "前"); | self.find(".UserStatusLastUpdatedInterval").text(result.replace(/^0(?=\d)/, "").replace(/0(?=\d{2,})/g, "") + "前"); | ||
2021年5月5日 (三) 20:56的版本
Only for {{UserStatus}}