mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-24 21:59:04 +00:00
The inline git blame always calculated the difference in years for commits based solely upon the difference between the years and not actual time passed. This is currently somewhat unfortunate during January, as for all dates starting from 2024 and lower, we would show `2 years ago`, even if the date was the 31st of December 2024. This fixes/improves this to use the lower bound always instead, as I find this much more intuitive - we can probably look into even better formatting here at some other point. Release Notes: - Fixed an issue where relative time deltas would sometimes show as `n + 1 years` instead of the actual `n years`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENSE-GPL | ||