libbb: fix time parsing of [[CC]YY]MMDDhhmm[.SS]. Closes 8951
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 19 May 2016 15:31:59 +0000 (17:31 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 31 May 2016 00:50:54 +0000 (02:50 +0200)
commitb684d1b1864ba9d7968de5565823f8e42f1dc448
treef2e72a858793948363809edd10791bc00e278d96
parent8e95068c7f28fe2a1e31b01636e3ed29eed09ef8
libbb: fix time parsing of [[CC]YY]MMDDhhmm[.SS]. Closes 8951

If SS is not given a value, it is assumed to be zero.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/time.c