Skip to content

Instantly share code, notes, and snippets.

@trietsch
Created January 8, 2025 12:43
Show Gist options
  • Save trietsch/1283e1ecbdc911c8e173f905633cfd8a to your computer and use it in GitHub Desktop.
Save trietsch/1283e1ecbdc911c8e173f905633cfd8a to your computer and use it in GitHub Desktop.
Show absolute date in GitLab CI
// ==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