Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH] date.c: print "1 second ago", not "1 seconds ago"

From: Øyvind A. Holm <hidden>
Date: 2016-06-15 22:48:41

On 21 April 2010 08:13, Johannes Sixt [off-list ref] wrote:
Am 4/21/2010 7:31, schrieb Øyvind A. Holm:
quoted
When using --date=relative, print "1 second ago" instead of "1 seconds
ago".
Why do you care only about about "1 seconds", but not "1 minutes", "1
hours", etc? I mean, "1 seconds ago" is the most unlikely case of them all
that will happen in practice...
It will never show "1 minute", "1 hour", etc. Only

  - "89 minutes" → "2 hours"
  - "35 hours" → "2 days"
  - "13 days" → "2 weeks"

and so on. Seconds is the only thing left to fix.

Cheers,
Øyvind A. Holm
(sunny256)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help