Re: Bug#505927: just use the date(1) -d library instead of your own poor
From:
jidanni
Subject:
Re: Bug#505927: just use the date(1) -d library instead of your own poorer date parser
Date:
Mon, 31 Aug 2009 17:23:00 +0800
>> >> However to get at to accept such a date, one needs:
>> >> $ at -v $(date --rfc-3339=date -d 'now + 5 years + 11 months')
>> >> Fri Oct 17 03:56:00 2014
>> >> warning: commands will be executed using /bin/sh
B'B> How do you like these:
B'B> at-ng/build% ./at now + 5 years + 11 months
B'B> Job will run at or after Wed, 29 Jul 2015 20:26:00 +0200.
B'B> It was a trivial fix adding just 2 lines to the grammar.
I'll cc them to let them know...