chiark / gitweb /
time-util: mktime_or_timegm are changing the struct tm
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Wed, 20 Sep 2017 17:26:13 +0000 (19:26 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 20 Sep 2017 17:26:13 +0000 (19:26 +0200)
commitf7dcd51ce43c892abc24c6f22cddddc47feb81a0
tree44a84d5c5497d8d72207465a88dc2c44e7eb0889
parent74b2a31089b0a1a7a1eadf7bbd0873d314e1b432
time-util: mktime_or_timegm are changing the struct tm

after that wm_day etc. seems to be changed. Moving the check infront of
the mktime_or_timegm fixes that.
src/basic/time-util.c