GitHub Date Formatter

A userscript to convert GitHub's relative timestamps and commit dates into standard local datetime formats.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
moeote
Denně instalací
1
Celkem instalací
1
Hodnocení
0 0 0
Verze
1.0.2
Vytvořeno
01. 09. 2026
Aktualizováno
01. 09. 2026
velikost
4,0 KB
Licence
MIT
Spustit na

GitHub Date Formatter

A userscript to convert GitHub's relative timestamps and commit dates into intuitive, standardized local datetime formats.

Introduction

GitHub displays timestamps using relative descriptions (such as "2 hours ago" or "3 days ago") and formats commit history headers with localized English strings (e.g., "Commits on May 22, 2026"). This userscript normalizes these strings across the interface into precise, standardized local datetime formats for enhanced readability and traceability.

Features

  • Standardized Timestamps: Converts relative time tags to YYYY-MM-DD HH:mm:ss.
  • Simplified Commit Headers: Simplifies commit group headers from Commits on Month DD, YYYY to YYYY-MM-DD.
  • Dynamic Content Support: Monitors dynamic DOM changes (SPA / PJAX navigations) via MutationObserver without needing manual page refreshes.
  • Native Replacement: Replaces custom Web Components with lightweight standard elements to prevent periodic overwrites.

Repository

https://github.com/abevol/github-date-formatter