"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: tog add century
To:
Tracey Emery <tracey@traceyemery.net>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 3 Dec 2019 12:14:11 +0100

Download raw body.

Thread
On Mon, Dec 02, 2019 at 10:33:37AM -0700, Tracey Emery wrote:
> Hello,
> 
> I just noticed that tog doesn't display the century on the year, either.
> This diff adds two spaces to the date column and adds the century.
> 
> This format change is to match the century change to got blame, if
> anyone is interested. Perhaps I'm the only one that cringes when I see a
> year without the century.
> 
> It also adds a tab after TOG_COLOR_DATE to align the 11 with the rest of
> the defines in that block.

I decided to use two digits for the year to save space on narrow terminals.
I'm really sorry for people from countries where MDY ordering is in use :-/

Could we make the number of year digits depend on the width of the screen?
Similarly to how we do it for the commit ID column?