diff options
author | Piotr Sikora <[email protected]> | 2012-07-14 04:16:04 +0000 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-08-01 09:56:10 +0200 |
commit | 99f6356e35b89446487bcdd787ed9b0657ae6b71 (patch) | |
tree | b7ac47f47650f0d0805668f4c3b14e8970650c18 /lib/stdlib | |
parent | ffcdf6f983bd9b7005abc2e69c4a0f187b8493f6 (diff) | |
download | otp-99f6356e35b89446487bcdd787ed9b0657ae6b71.tar.gz otp-99f6356e35b89446487bcdd787ed9b0657ae6b71.tar.bz2 otp-99f6356e35b89446487bcdd787ed9b0657ae6b71.zip |
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
Signed-off-by: Piotr Sikora <[email protected]>
Diffstat (limited to 'lib/stdlib')
0 files changed, 0 insertions, 0 deletions