[erlang-questions] erlang:universal_to_localtime/1 issue on Mac OS X 10.4.11

Eugen Sobchenko <>
Mon Dec 1 15:33:26 CET 2008


Thanks for your answer! I tried this patch and it solves the problem.
I hope they will fix this issue in future releases of Erlang.

-Eugen

On Mon, Dec 1, 2008 at 3:53 PM, Kenji Rikitake <>wrote:

> See
> http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html
> for Paul Guyot's analysis on the following issue on R12B4.
> (I have no idea whether it is also applicable to MacOS)
>
> Note that the patch attached with the above article is also applicable
> to R12B5.
>
> Kenji Rikitake
>
> In the message <
> >
> dated Mon, Dec 01, 2008 at 02:55:47PM +0200,
> Eugen Sobchenko <> writes:
> > Greetings,
> >
> > I'm getting the following exception on
> > "httpd_util:rfc1123_date({{2008,11,28},{17,25,48}}).":
> >
> > 3> httpd_util:rfc1123_date({{2008,11,28},{17,25,48}}).
> > ** exception error: bad argument
> >      in function  erlang:universaltime_to_localtime/1
> >         called as
> > erlang:universaltime_to_localtime({{1969,12,31},{23,59,59}})
> >      in call from calendar:local_time_to_universal_time_dst/1
> >      in call from httpd_util:rfc1123_date/1
> >
> >
> > Actually I use mochiweb and have exactly the same problem as described in
> > the following thread:
> >
> http://groups.google.com/group/mochiweb/browse_thread/thread/d46e71d2293641dd/d3ae98bec483392e?#d3ae98bec483392e
> >
> > I'm running Erlang R12B5 on Mac OS X 10.4.11.
> >
> > How can I solve this issue? Any help appreciated.
> >
> > Thanks,
> > Eugen
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081201/d09f5f0b/attachment.html>


More information about the erlang-questions mailing list