OSDN Git Service

Implement date %N, loosely inspired by Elliott Hughes's patch.
authorRob Landley <rob@landley.net>
Fri, 19 May 2017 17:35:36 +0000 (12:35 -0500)
committerRob Landley <rob@landley.net>
Fri, 19 May 2017 17:35:36 +0000 (12:35 -0500)
commitd852ec18900ef635a38f99ed769a636f15af72c6
tree48c34a2717618e39f494a8e7fe11786c71b83144
parent57605d2b481a87af4ba444761ece592d441950b1
Implement date %N, loosely inspired by Elliott Hughes's patch.

I didn't implement %37N's ability to insert zeroes, so removed those
two tests. If you really need it, I can add the divide loop back.
tests/date.test
toys/posix/date.c