-
-
Notifications
You must be signed in to change notification settings - Fork 165
GitHub static time
Rob Garrison edited this page Oct 24, 2022
·
17 revisions
A userscript that replaces relative times with a static time formatted as you like it
- The userscript replaces all of GitHub's relative time text with a static date and time.
- Change the settings by opening the userscript menu and look for a "Set GitHub static time format" option.
- The date format is customizable using:
- Date format using Moment.js' display formating.
- Moment.js supported locales (ref).
- Changes to the settings will automatically apply to all dates on the page.
- Closing the settings panel:
- If the panel is closed using the Esc key, clicking outside the panel, or clicking the Cancel button, all changes will revert to use the settings prior to the panel opening.
- Changes will only be saved after pressing the Save button.
- By default, the locale is set to
en
and date format is set toLLL
. - Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
* Note: the menu setting is "Set GitHub static time format"
- Code cleanup
- Update dependencies.
- Update mutation script.
- Update mutation script.
- Update GitHub icon.
- Update mutation script.
- Update mutation script.
- Update mutation script.
- Update mutation script.
- Update mutation script url.
- Update assets.
- Update mutation script url.
- Fix linting issues.
- Prevent JS error after browser back arrow.
- Add container update delay. Needed to allow rendering of repo file list.
- Change license to MIT.
- Fix linting.
- Initial commit