Greasy Fork is available in English.

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

Skaber
MuXiu1997
Daglige installationer
1
Installationer i alt
106
Bedømmelser
2 0 0
Version
0.7.0
Oprettet
16.11.2023
Opdateret
24.12.2025
Size
25,9 kB
Licens
MIT
Gælder for

github-relative-time-format

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT) [![Greasy Fork](https://img.shields.io/greasyfork/v/480032.svg?style=flat-square)](https://greasyfork.org/zh-CN/scripts/480032-github-relative-time-format)


Customize GitHub's `` elements with your preferred date and time formats. 自定义 GitHub `` 元素的日期与时间显示格式。

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 协议 开源。