timedated: use format_timestamp instead of ctime
authorLuca Boccassi <bluca@debian.org>
Sat, 3 Apr 2021 13:46:46 +0000 (14:46 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 8 Apr 2021 12:07:31 +0000 (13:07 +0100)
commitdfc5c4f26d12ae871465251751a85de5eb88d724
tree303348bf54574c55dec9308a29c72b07979f0e0d
parent71d1e58309bb70bb2a014f33c5f9503dcbed020c
timedated: use format_timestamp instead of ctime

Some static analyzers (lgtm) warn against using non-re-entrant functions,
even though at the moment this code is not multi-threaded, just switch to
format_timestamp.
src/timedate/timedated.c