Skip to content
Commit 2e72b794 authored by Ivan Kurnosov's avatar Ivan Kurnosov Committed by Zbigniew Jędrzejewski-Szmek
Browse files

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.
parent a3da4a3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment