shlib.sh: use parse_any_date instead of parse_rfc2822_date
commitacf5a8a4416e2f26edad4c28a235a77da9b62baf
authorKyle J. McKay <mackyle@gmail.com>
Mon, 29 Aug 2016 04:57:38 +0000 (28 21:57 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 29 Aug 2016 04:57:38 +0000 (28 21:57 -0700)
treedfc8ba651b277c1b9c177dfc13caf5aebc917e14
parent5f341f2c26d652260489324686b81f3205aacdf5
shlib.sh: use parse_any_date instead of parse_rfc2822_date

The config_get_date_seconds function turns a date into seconds since the
epoch.  Change it to use parse_any_date (which supports RFC 2822 dates)
instead of parse_rfc2822_date so that it can convert more time formats.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
shlib.sh