-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to make git blame date more precise #1546
Comments
Hi! I could work on this if no one's doing it already, although it might take me a bit :) |
Maybe gitlens updated recently because I noticed today my gitlens said "You, last year" instead of "You, a year ago" but the date is October 2020 so "last year" isn't even correct here. This is one of the places where "You, 17 months ago" would make more sense to me. |
In GitLens 12.0.2 (should be out once the CI finishes), it will now show dates >= 1 year but < 2 years to be shown in months. Hopefully that addresses most of the request here. |
Tried it out and looks great, thanks! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It is really useful to see the "ago" time in days, weeks, then months, but once it goes to years it loses a lot of precision. "1 year ago" can mean 365 days or it can mean (2 years - 1 day).
I think knowing something was 14 months ago would be more useful than an ambiguous "1 year" = 12-24 months ago. But after 24 months I wouldn't want as much precision.
Perhaps the best option would be to show "1 year, 2 months ago" instead of an arbitrary cutoff (like 12 or 24) for when months turn into years.
Maybe there's a way to use something from
agoOrDate
or gitlens.defaultDateSource
?Created feature request from Q&A #1539
The text was updated successfully, but these errors were encountered: