[erlang-questions] Interesting issue...
Tue Jan 15 17:58:58 CET 2013
I already submitted this to erlang-bugs@REDACTED, but figured others
might be interested. I found an interesting issue while traveling and
working through Thailand. I have been able to reproduce it on my
MacBook Pro using R15B01, built from source.
1. Set your date to Indochina Time.
2. In the shell, try executing:
Here is the exception that I am getting. Note that the date is a
Eshell V5.9.1 (abort with ^G)
** exception error: bad argument
in function erlang:localtime_to_universaltime/2
in call from calendar:local_time_to_universal_time_dst/1
(calendar.erl, line 282)
When I set my date back to Pacific time, it works without any problem --
you can switch it back and forth while in the shell and either get the
exception, or the correct output.
I was able to isolate it to function the bif.c function, unfortunately
my environment is not really set up to debug the erlang runtime.
CTO and Founder / *Go Factory*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions