[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: r1.100 of getdate.y changed 'ago' behavior

From: Edgar Toernig
Subject: Re: r1.100 of getdate.y changed 'ago' behavior
Date: Thu, 20 Apr 2006 17:47:33 +0200

> > however, i have a user who thinks the new behavior is broken and wont take 
> > my 
> > word for it :) ... so which behavior is the correct one ?
> The documentation suggests that the new behavior is correct.

Yeah, documentation and behaviour match but it changes decade
old semantics.  Previous versions of GNU date (I checked up to
V 1.12) interpeted '1 hours 1 minutes ago' as -61 minutes.
This change breaks all scripts written in the last ~10 years
which use this idiom.

Ciao, ET.

PS: I'm not subscribed to the ML.  Please CC on reply.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]