GitHub Relative Time Format

replacing GitHub relative timestamps(<relative-time>) with customizable date and time 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 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!)

Autor
MuXiu1997
Dnevne instalacije
0
Ukupnih instalacija
106
Ocjene
2 0 0
Verzija
0.7.0
Stvoreno
16.11.2023.
Ažurirano
24.12.2025.
Size
25,9 KB
Licenza
MIT
Primjenjuje se

github-relative-time-format

License: MIT Greasy Fork


Customize GitHub's <relative-time> elements with your preferred date and time formats
自定义 GitHub <relative-time> 元素的日期与时间显示格式

Configuration / 配置项

You can access these options via the Userscript menu: 你可以通过脚本管理器的菜单访问以下配置:

  • DISPLAY_FORMAT: Format for the visible timestamp (Default: YY-MM-DD HH:mm).
  • TOOLTIP_FORMAT: Format for the hover tooltip (Default: YYYY-MM-DD HH:mm:ss).
  • DEBUG_LOG: Enable verbose logging in the console for troubleshooting (Default: false).

Installation / 安装

License / 协议

This project is licensed under the MIT License.

本项目采用 MIT 协议 开源。