On 5/22/19 12:44 PM, Steeve McCauley wrote:
> It would be pretty awesome if one could specify "4 years 11 months 3 days 4
> hours and 7 minutes ago" but that seems not possible.

Every piece of the adjustment can be positive or negative, so you have to
specify "ago" if you mean ago (unlike in natural language):

  $ date; date --date='4 years ago 11 months ago 3 days ago 4 hours ago 7 
minutes ago'
  Thu May 23 08:15:14 CEST 2019
  Fri Jun 20 04:08:14 CEST 2014

Have a nice day,
Berny

Reply via email to