Re: [PATCH] date.c: print "1 second ago", not "1 seconds ago"
- From
Øyvind A. Holm <sunny@sunbase.org>
- Date
- Apr 21, 2010, 06:28 UTC
- Message-ID
- <i2jc4c738cd1004202328hb58859f8ze9eb1858f5493c66@mail.gmail.com>
- In-Reply-To
- <4BCE977D.9040700@viscovery.net>
On 21 April 2010 08:13, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 7 quoted lines
> Am 4/21/2010 7:31, schrieb Øyvind A. Holm: >> 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)