[erlang-patches] Fix use of "clever" mktime.
Henrik Nord
henrik@REDACTED
Fri Jul 20 14:25:41 CEST 2012
Thank you, I Have included this patch in 'pu'
On 07/16/2012 11:58 PM, Piotr Sikora wrote:
> Fix use of "clever" mktime.
>
> Commit 1eef765 introduced regression (conditional _always_ evaluates
> to true) in which erlang:localtime_to_universaltime/2 stopped working
> on systems configured with timezone without DST (i.e. UTC) on *BSD
> platforms:
>
> 1> erlang:localtime_to_universaltime({{2012,1,1},{0,0,0}}, true).
> ** exception error: bad argument
>
>
> git fetch git://github.com/PiotrSikora/otp.git fix-clever-mktime
>
> https://github.com/PiotrSikora/otp/compare/fix-clever-mktime
> https://github.com/PiotrSikora/otp/compare/fix-clever-mktime.patch
>
>
> Best regards,
> Piotr Sikora< piotr.sikora@REDACTED>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
--
/Henrik Nord Erlang/OTP
More information about the erlang-patches
mailing list