GitHub Date Formatter

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

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

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

نووسەر
moeote
Daily installs
1
Total installs
1
Ratings
0 0 0
وەشان
1.0.2
Created
2026-09-01
Updated
2026-09-01
Size
3.98 KB
مۆڵەت
MIT
Applies to

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