add the %s (seconds since the epoch) format to strftime
authorRich Felker <dalias@aerifal.cx>
Sun, 25 Aug 2013 06:02:15 +0000 (02:02 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 25 Aug 2013 06:02:15 +0000 (02:02 -0400)
commit242a4bb4406dad53a1983ea1134d5326a0c4afa3
treeb2b0bbb2824f381e51b4980c92f7a032308f91a1
parent2828a130b1e822414a13961680245d04f2989a4b
add the %s (seconds since the epoch) format to strftime

this is a nonstandard extension but will be required in the next
version of POSIX, and it's widely used/useful in shell scripts
utilizing the date utility.
src/time/strftime.c