Fix for dst/non-dst timezones
authorIvan Kurnosov <zerkms@zerkms.com>
Sun, 17 Sep 2017 11:09:38 +0000 (23:09 +1200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 17 Sep 2017 11:49:14 +0000 (13:49 +0200)
commit2e72b7945991f5cb7db3d24d3fe0179d21159d2c
tree6b625d4b33b479a1fa10cc0a98655572c0d1fbeb
parenta3da4a3d0af6b77c2d6ef809f6defd1de0d88d53
Fix for dst/non-dst timezones

The problem was with the tm.tm_isdst that is set to the current environment
value: either DST or not. While the current state is not relevant to the state
in the desired date.

Hence — it should be reset so that the mktime_or_timegm could normalise it
later.
src/basic/time-util.c