GitHub 时间格式化

创建于 5 小时前
更新于 5 小时前
用自定义的日期时间格式替换 GitHub 时间显示(<relative-time>)
总安装量
1
今日新增
+1
用户评分
- / 5.0 (0)
当前版本
0.7.0
脚本详情
适用网站
许可协议MIT

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