您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Convert 12 hour time formats in Jira to a more sensible format
// ==UserScript== // @name 24 Hour Converter for Jira // @namespace http://schuppentier.org/ // @version 1.0.1 // @description Convert 12 hour time formats in Jira to a more sensible format // @author Dennis Stengele // @match https://*.atlassian.net/jira/* // @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net // @require https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js // @require https://bowercdn.net/c/arrive-2.4.1/minified/arrive.min.js // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; document.arrive("span", function() { if (!(this.innerText.match(/(\d{2}\/\d{2}\/\d{2}, \d{2}:\d{2}:\d{2} [ap]m)/gm))) { return; } function replacer(match) { var timestamp = moment(match, "DD/MM/YY hh:mm:ss a"); return timestamp.format("DD. MMM Y HH:mm:ss"); } const newValue = this.innerText.replace(/(\d{2}\/\d{2}\/\d{2}, \d{2}:\d{2}:\d{2} [ap]m)/gm, replacer); this.innerText = newValue; }) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址