GitHub Date Converter

Convert GitHub dates to standard numerical formats, supports custom formats.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
dumeng-chn
1日のインストール数
0
累計インストール数
2
評価
1 0 0
バージョン
0.3.0
作成日
2026/04/29
更新日
2026/04/29
大きさ
11.1KB
互換性
Chrome への互換性あり
ライセンス
MIT
対象サイト

GitHub Date Converter

GitHub 日期转换器

repo issues license stars installs

A Tampermonkey script that converts GitHub's textual dates or relative dates into your preferred standard numerical format.
一个 Tampermonkey 脚本,旨在将 GitHub 页面中的英文文本日期或相对日期转换为你偏好的标准数字格式。

Example: Jan 122026-01-12   |   3 days ago2026-04-26


🚀 Features (功能特性)

  • 📅 Custom Format (自定义格式): Select from presets or use YYYY, MM, DD placeholders to define your own pattern.
    支持选择预设或使用 YYYY, MM, DD 等占位符灵活配置你喜好的日期显示格式。
  • ⏳ Relative Time Control (相对时间控制): Multiple modes to handle strings like "3 days ago" (None, > 7 Days, or All).
    支持多种转换模式:不转换相对时间、仅转换 7 天前的旧日期、或全部转换。
  • 📁 File List Toggle (忽略文件列表): Option to skip dates in repository file tables to maintain a native experience.
    支持针对仓库文件列表设置忽略,保持原生的文件浏览体验。
  • 🌐 Bilingual UI (双语界面): Automatically detects browser language and provides a settings menu in English and Chinese.
    自动识别浏览器语言,提供中英文双语交互菜单。
  • ⚡ Non-Destructive (非侵入式修改): Modifies text nodes directly without replacing elements. Ensures compatibility with GitHub's React hydration.
    直接修改文本节点和 Shadow DOM,不破坏原始 DOM 结构。完美兼容 GitHub 的 React 水合逻辑和页面交互。

📦 Installation (安装)

  1. Install a Userscript manager like Tampermonkey.
    安装脚本管理器,例如 Tampermonkey
  2. Install the script from your preferred source:
    从你偏好的渠道安装脚本:

📖 Usage (使用说明)

Open the Tampermonkey menu on any GitHub page to access the settings and customize the script's behavior.
在任何 GitHub 页面打开 Tampermonkey 菜单即可访问设置并自定义脚本行为。

📜 License (授权)

MIT License