Do not use `date -d` as it's not portable
commit4c46ddbf7d32a0ca958a40869fb8f420bef32de7
authorKyle J. McKay <mackyle@gmail.com>
Thu, 11 Jul 2013 20:13:55 +0000 (11 13:13 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 11 Jul 2013 20:13:55 +0000 (11 13:13 -0700)
tree6374df8d2211ce2f1f8f3eb9a895801421c31896
parent825d078e6e60381d09b8a13b2f34e2bc3054fb4f
Do not use `date -d` as it's not portable

Change shlib.sh and jobd.pl to use a new parse_date function
in Util.pm.  It uses Time::Local gmtime and some string matching
to correctly parse the date in a portable fashion.  Currently it
only handles the "date '+%a, %d %b %Y %T %z'" format but that's
all it needs to at this point.
Girocco/Util.pm
jobd/jobd.pl
shlib.sh