Thanks for your answer! I tried this patch and it solves the problem.<br>I hope they will fix this issue in future releases of Erlang.<br><br>-Eugen<br><br><div class="gmail_quote">On Mon, Dec 1, 2008 at 3:53 PM, Kenji Rikitake <span dir="ltr"><<a href="mailto:kenji.rikitake@acm.org">kenji.rikitake@acm.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">See<br>
<a href="http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html" target="_blank">http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html</a><br>
for Paul Guyot's analysis on the following issue on R12B4.<br>
(I have no idea whether it is also applicable to MacOS)<br>
<br>
Note that the patch attached with the above article is also applicable<br>
to R12B5.<br>
<br>
Kenji Rikitake<br>
<br>
In the message <<a href="mailto:23b409ab0812010456tf16a025w3163e7f388e000b3@mail.gmail.com">23b409ab0812010456tf16a025w3163e7f388e000b3@mail.gmail.com</a>><br>
dated Mon, Dec 01, 2008 at 02:55:47PM +0200,<br>
<div><div></div><div class="Wj3C7c">Eugen Sobchenko <<a href="mailto:esobchenko@gmail.com">esobchenko@gmail.com</a>> writes:<br>
> Greetings,<br>
><br>
> I'm getting the following exception on<br>
> "httpd_util:rfc1123_date({{2008,11,28},{17,25,48}}).":<br>
><br>
> 3> httpd_util:rfc1123_date({{2008,11,28},{17,25,48}}).<br>
> ** exception error: bad argument<br>
> in function erlang:universaltime_to_localtime/1<br>
> called as<br>
> erlang:universaltime_to_localtime({{1969,12,31},{23,59,59}})<br>
> in call from calendar:local_time_to_universal_time_dst/1<br>
> in call from httpd_util:rfc1123_date/1<br>
><br>
><br>
> Actually I use mochiweb and have exactly the same problem as described in<br>
> the following thread:<br>
> <a href="http://groups.google.com/group/mochiweb/browse_thread/thread/d46e71d2293641dd/d3ae98bec483392e?#d3ae98bec483392e" target="_blank">http://groups.google.com/group/mochiweb/browse_thread/thread/d46e71d2293641dd/d3ae98bec483392e?#d3ae98bec483392e</a><br>
><br>
> I'm running Erlang R12B5 on Mac OS X <a href="http://10.4.11." target="_blank">10.4.11.</a><br>
><br>
> How can I solve this issue? Any help appreciated.<br>
><br>
> Thanks,<br>
> Eugen<br>
</div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br>