You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable relative dates past a certain age (1 year?) #10067
This was asked before and we rejected it because "it doesn't really matter if it's 12 or 13 months" but at the same time... maybe it does matter sometimes? It's worth looking into this.
Hi, was this intended to be enabled by default? I've disabled it in my case since I prefer relative dates, but this feels inconsistent enough to be an opt-in feature.
Some potentially off-topic thoughts:
Regarding relative time being confusing, I wrote a personal user script to add a click handler on the date to copy the actual timestamp to clipboard. This way, I still see relative time as a subjective approximation of time (what I care about), and still get to copy the exact time for whoever needs it (usually trackers/managers). This would be different feature for whoever needs it, since the absolute time was always available on hover.
Activity
fregante commentedon Sep 19, 2026
AI PRs NOT WELCOME, screenshots are mandatory.
Docs at https://github.com/github/relative-time-element, we just need to:
relative-timeelementstenseattributeprefix=""attributetense="past"attributethreshold="P6M"attribute (after 6 months)It's not clear while all of this is required on this view but it's "the default" for the same element on issue lists.
For now it should work on
isRepoTree. Other pages likeisRepoCommitListalready show absolute dates after a certain cutoff.ajitzero commentedon Oct 18, 2026
Hi, was this intended to be enabled by default? I've disabled it in my case since I prefer relative dates, but this feels inconsistent enough to be an opt-in feature.
Some potentially off-topic thoughts:
Regarding relative time being confusing, I wrote a personal user script to add a click handler on the date to copy the actual timestamp to clipboard. This way, I still see relative time as a subjective approximation of time (what I care about), and still get to copy the exact time for whoever needs it (usually trackers/managers). This would be different feature for whoever needs it, since the absolute time was always available on hover.
fregante commentedon Oct 18, 2026
This is how GitHub already works, so this feature is only making the site more consistent.
Also yes, all features are enabled by default and most can be disabled with a click.