diff options
author | louiz’ <louiz@louiz.org> | 2016-10-11 00:18:48 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-10-11 00:20:43 +0200 |
commit | 548e4ad473e7be22f971184312cc5ce9b8fe56b7 (patch) | |
tree | 3b7be9c89c931bb49ad9bc7e14d6e21a446e90f0 /louloulibs/network/resolver.cpp | |
parent | 116472920ce4bcd4c9512db67108cdbf9895e8ad (diff) | |
download | biboumi-548e4ad473e7be22f971184312cc5ce9b8fe56b7.tar.gz biboumi-548e4ad473e7be22f971184312cc5ce9b8fe56b7.tar.bz2 biboumi-548e4ad473e7be22f971184312cc5ce9b8fe56b7.tar.xz biboumi-548e4ad473e7be22f971184312cc5ce9b8fe56b7.zip |
Parse the timezone myself, instead of using the broken strptime
See
https://lab.louiz.org/louiz/biboumi/issues/3215
https://github.com/andikleen/glibc/blob/master/time/strptime_l.c#L746-L747
for why strptime() sucks
We use std::get_time now, to parse the date and time. And we parse the
timezone by hand.
fix #3215
Diffstat (limited to 'louloulibs/network/resolver.cpp')
0 files changed, 0 insertions, 0 deletions