]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic: add mktime_or_timegm and localtime_or_gmtime_r
authorHristo Venev <hristo@venev.name>
Tue, 13 Oct 2015 19:14:33 +0000 (22:14 +0300)
committerHristo Venev <hristo@venev.name>
Wed, 14 Oct 2015 23:34:45 +0000 (02:34 +0300)
commit7c67c79c9abcaf39cff72ce0207b4c0f30ec5590
tree2dc15257224fa0e9616559bcede6d9e63b78a8bc
parent19833db683c1e197718f00d1d5cb4827ee7897d8
basic: add mktime_or_timegm and localtime_or_gmtime_r

to time-util.h. They take an extra argument `bool utc`.
src/basic/time-util.c
src/basic/time-util.h