Hmm.
date -d 'next tuesday'
certainly isn't behaving as the reporter expects. OTOH,
date -d 'next week tuesday'
does give the desired result. Of course, so does
date -d 'week tuesday'
And next tuesday is exactly the same as
date -d 'this tuesday'
which seems intuitively wrong.
I can't begin to grok the date parsing code. The documentation does
imply that 'next tuesday' should behave the way 'next week tuesday'
does. Is upstream interested in making it work that way, or should the
documentation reflect reality? (It's been this way for a very long
time.) My personal inclination is to deprecate all the natural language
date parsing because the results tend to be unpredictable. :-) My second
choice inclination would be to document "last week thursday" "next week
thursday" "this week thursday" as the proper form.
Mike Stone
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]