Merge pull request #37 from loudferret/iss36-UTC_problem_with_time_shift

fixed issue https://github.com/choptastic/qdate/issues/36
This commit is contained in:
Jesse Gumm 2018-09-18 13:00:00 -05:00 committed by GitHub
commit fa59231e1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -900,6 +900,7 @@ get_timezone_shift(TZ, Disambiguate, Date) ->
{error,T} -> {error,T};
{Sh, _} when Disambiguate==prefer_standard -> Sh;
{_, Sh} when Disambiguate==prefer_daylight -> Sh;
0 -> {'+', 0, 0};
Sh -> Sh
end.