From: Stuart Henderson Subject: Re: tog add century To: Tracey Emery , gameoftrees@openbsd.org Date: Tue, 3 Dec 2019 12:24:20 +0000 On 2019/12/03 12:14, Stefan Sperling wrote: > 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 :-/ How about YYYYMMDD without the /? I don't think it's too bad for MDY countries, most of the displayed YY/MM/DD dates are invalid at a quick glance. Coming from DMY-land many of them are potentially valid so more mental effort is needed. > 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? That would work too.