<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi!<br>
      On 01/25/2013 05:23 PM, Pierre Fenoll wrote:<br>
    </div>
    <blockquote
cite="mid:CA+oqp8LrbENqG8u+7u_ED6ZgnXvvF7=FK2mJ8pZXTNQ9a7SKqQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Tried it on R15B03 on my MacBook Air (Indochina Time) and got no
      exception.
      <div>The issue cannot be reproduced on R15B03.<br>
        <br>
      </div>
    </blockquote>
    Great, then I close the issue, as I cannot reproduce it in any
    timezone lacking DST in recent releases. It seems to have been fixed
    by a patch mending some general issues with time on BSD. <br>
    <br>
    Thanks,<br>
    /Patrik<br>
    <blockquote
cite="mid:CA+oqp8LrbENqG8u+7u_ED6ZgnXvvF7=FK2mJ8pZXTNQ9a7SKqQ@mail.gmail.com"
      type="cite">
      <div>
        <div class="gmail_quote">On 25 January 2013 17:10, Patrik Nyblom
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:pan@erlang.org" target="_blank">pan@erlang.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hi!<br>
                <br>
                This ought to be fixed already in R15B03, can you please
                verify that it's not present there? I can only reproduce
                it in R15B01 and prior releases.<br>
                <br>
                Cheers,<br>
                /Patrik
                <div>
                  <div class="h5"><br>
                    <br>
                    On 01/15/2013 05:58 PM, Bryan Hughes wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5"> Hi Everyone,<br>
                    <br>
                    I already submitted this to <a
                      moz-do-not-send="true"
                      href="mailto:erlang-bugs@erlang.org"
                      target="_blank">erlang-bugs@erlang.org</a>, 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. 
                    <br>
                    <br>
                    1. Set your date to Indochina Time.<br>
                    2. In the shell, try executing:
                    calendar:local_time_to_universal_time_dst({{2012,12,3},{8,48,42}}).<br>
                    <br>
                    Here is the exception that I am getting.  Note that
                    the date is a validate datetime.<br>
                    <br>
                    Eshell V5.9.1 (abort with ^G)<br>
                    1>
                    calendar:local_time_to_universal_time_dst({{2012,12,3},{8,48,42}}).<br>
                    ** exception error: bad argument<br>
                         in function erlang:localtime_to_universaltime/2<br>
                            called as
                    erlang:localtime_to_universaltime({{2012,12,3},{8,48,42}},true)<br>
                         in call from
                    calendar:local_time_to_universal_time_dst/1
                    (calendar.erl, line 282)<br>
                    <br>
                    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.<br>
                    <br>
                    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.<br>
                    <br>
                        BIF_RETTYPE
                    localtime_to_universaltime_2(BIF_ALIST_2);<br>
                    <br>
                    Cheers,<br>
                    Bryan<br>
                    <br>
                    <div>-- <br>
                      <p style="font-size:12px"> Bryan Hughes<br>
                        CTO and Founder / <b>Go Factory</b><br>
                        <a moz-do-not-send="true"
                          href="http://www.go-factory.net"
                          target="_blank">http://www.go-factory.net</a><br>
                        <br>
                      </p>
                      <p><br>
                      </p>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
erlang-questions mailing list
<a moz-do-not-send="true" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a moz-do-not-send="true" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            erlang-questions mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
            <a moz-do-not-send="true"
              href="http://erlang.org/mailman/listinfo/erlang-questions"
              target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>