use separate directives for time formatting and scanning
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Wed, 31 Jan 2018 13:32:59 +0000 (14:32 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 27 Mar 2019 09:31:38 +0000 (10:31 +0100)
commit214a748ae7eeba811c232a136c3020ea730c70d6
treea7b7941a3ea6bcfeb5e9e0f12a2a727da2c5bcc6
parentc42fd3b38d78f745134fb625a4cd1e2004cabad5
use separate directives for time formatting and scanning

Glibc 2.17 has trouble with length modifiers in format directives
which prevents us from using the same strings both ways. This is
fixed in later versions (by 2.25 definitely, maybe earlier) but
for the time being we have to use different format strings
depending on the action.
src/timefunc.cpp