git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature request for shorter relative date format in log
@ 2023-08-02  6:07 Yucheng Zhou
  2023-08-02 18:12 ` Taylor Blau
  0 siblings, 1 reply; 5+ messages in thread
From: Yucheng Zhou @ 2023-08-02  6:07 UTC (permalink / raw)
  To: git

Hello there,

I usually use --date=relative in git log, but I find it can be shorter to save more space and be more efficient. 

First, the trailing “ago” can be removed, because it seems every relative date has a trailing ago. 
Second, the seconds, minutes, hours, days, weeks, months, and years can be shorten to a single letter (e.g., s, m, h, d, w, M, Y), and the suffix “s” for plural can also be removed in this case. 
Maybe it will be better to give us a way to customize it, or create a new to config like --date=relative-short.

I apologize for any inconvenience since it’s my first time to use a mailing list.

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-04 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-02  6:07 Feature request for shorter relative date format in log Yucheng Zhou
2023-08-02 18:12 ` Taylor Blau
2023-08-02 22:31   ` Junio C Hamano
2023-08-03  2:54     ` Yucheng Zhou
2023-08-04 18:24     ` Taylor Blau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).