User:Mfield/Scripts/RelativeTimestamps
Appearance
| Description | Human readable relative times after timestamps (12 minutes ago, 4 hours ago etc.) |
|---|---|
| Author | Mfield |
| Updated | 5 July 2026 |
| Browsers | Firefox, Safari, Chrome |
| Source | RelativeTimestamps.js |
RelativeTimestamps is a script to add human readable relative times ("5 minutes ago", "3 hours ago" etc.) after timestamps on watchlist, history, contribution and talk pages, noticeboards etc. Anywhere it finds any appropriately tagged timestamp at least.
New - Sub 1 hour relative times update themselves automatically every minute so they stay up to date while you are reading through a long thread/page.

Installation
[edit]To install the script, follow these steps:
- In your preferences, go to Preferences → Gadgets. At the bottom of the "Advanced" section, click the "Install scripts without having to manually edit JavaScript files (documentation)" checkbox, then click the "Save" button.
- Return to this page and click the blue "Install" button.
Alternatively, you can manually install it by adding the following code to your common.js file:
{{subst:iusc|User:Mfield/Scripts/RelativeTimestamps.js}}
Configuration
[edit]There are no configuration settings.
Notes
[edit]Now works with non UTC times also