Download raw body.
tog add century
On Tue, Dec 03, 2019 at 12:24:20PM +0000, Stuart Henderson wrote: > 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 /? Would it be obvious that such a number is supposed to represent a date? > 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. I also figured that it would be obvious. But this is not the first time a change to the current format has been requested on grounds that it is confusing. Artturi Alm did suggest to use DD/MM/YY instead, but I doubt that would actually solve anything. > > 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.
tog add century