add ISO-8601 formatters to timefunc
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 9 Jan 2018 10:52:53 +0000 (11:52 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 27 Mar 2019 09:31:38 +0000 (10:31 +0100)
commitd70f7269cc1d4b389d82af625e092c0adab68ef0
tree44fc3ee61dd30e1ca63ca2ddae55765456dba680
parente36ca33cc64b020bd7d0961ae2186e9794de0e76
add ISO-8601 formatters to timefunc

Adds format_iso8601() to create conforming timestamps from
broken-down time. Includes overload wrappers for time_t and
struct timespec.
src/timefunc.cpp
src/timefunc.hxx
test/test_timefunc.cpp