OSDN Git Service

Don't try to implement %s, we have @seconds, strptime() in libc tends
authorRob Landley <rob@landley.net>
Wed, 29 Mar 2017 01:39:31 +0000 (20:39 -0500)
committerRob Landley <rob@landley.net>
Wed, 29 Mar 2017 01:39:31 +0000 (20:39 -0500)
commit36beb530a79fff3d82df2bd1550693ca10d808e8
treef172077df89f47fbd9634fc7872aff9c1a0dbe9c
parentc7ed874362a1d9ad7acbd7f14915e383a7d5d945
Don't try to implement %s, we have @seconds, strptime() in libc tends
not to have it, and implementing our own means a pattern like
"Time %%%s%%" is expensive to handle the corner cases of.
toys/posix/date.c