Re: [PATCH 2/2] --date=relative falls back to "short" format for commits older than a year
- From
Jeff King <peff@peff.net>
- Date
- Feb 24, 2009, 05:04 UTC
- Message-ID
- <20090224050400.GC4615@coredump.intra.peff.net>
- In-Reply-To
- <49A2599E.2030406@trolltech.com>
On Mon, Feb 23, 2009 at 09:09:02AM +0100, Marius Storm-Olsen wrote:
Show 6 quoted lines
>> Another option would to give higher resolution in number of years, >> like "3.5 years" or even "3.1 years". > > And using shorter names for the units would be a no-go? > > "3y 2m ago" <--
Personally I think that looks terrible. But I recognize that it is very subjective. The only objective thing I can say is that "m" is not a unique prefix of a time unit, due to "minutes". Yes, it is obvious if you see the "y" first, but I actually parse the relative time backwards in my head and think "2 minutes ago, oh wait, 3 years, that must be months".
-Peff