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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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!)

Tác giả
moeote
Cài đặt hàng ngày
1
Số lần cài đặt
1
Đánh giá
0 0 0
Phiên bản
1.0.2
Đã tạo
01-09-2026
Đã cập nhật
01-09-2026
Kích thước
4 KB
Giấy phép
MIT
Áp dụng cho

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