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:
commit
fa59231e1e
1 changed files with 1 additions and 0 deletions
|
@ -900,6 +900,7 @@ get_timezone_shift(TZ, Disambiguate, Date) ->
|
||||||
{error,T} -> {error,T};
|
{error,T} -> {error,T};
|
||||||
{Sh, _} when Disambiguate==prefer_standard -> Sh;
|
{Sh, _} when Disambiguate==prefer_standard -> Sh;
|
||||||
{_, Sh} when Disambiguate==prefer_daylight -> Sh;
|
{_, Sh} when Disambiguate==prefer_daylight -> Sh;
|
||||||
|
0 -> {'+', 0, 0};
|
||||||
Sh -> Sh
|
Sh -> Sh
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue