]> git.cworth.org Git - notmuch/commitdiff
support for generating decreasing dates in bash 4.0 and 4.1
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 10 Feb 2014 21:15:00 +0000 (23:15 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 9 Mar 2014 13:09:51 +0000 (10:09 -0300)
The printf builtin "%(fmt)T" specifier (which allows time values
to use strftime-like formatting) is introduced in bash 4.2.

Trying to execute this in pre-4.2 bash will fail -- and if this
happens execute the fallback piece of perl code to do the same thing.


No differences found