Created
January 8, 2025 12:43
-
-
Save trietsch/1283e1ecbdc911c8e173f905633cfd8a to your computer and use it in GitHub Desktop.
Show absolute date in GitLab CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Show absolute date in GitLab CI | |
// @version 1.0.0 | |
// @description Automatically enables show dependencies in Gitlab CI pipelines | |
// @author Robin Trietsch | |
// @match https://gitlab.com/*/-/pipelines/* | |
// @match https://gitlab.com/*/-/jobs/* | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
waitForKeyElements("time", elements => { | |
let el = elements[0]; | |
el.innerText = `${el['title']} (${el.innerText})`; | |
}, true); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment