[erlang-questions] erlang:universal_to_localtime/1 issue on Mac OS X 10.4.11
Kenji Rikitake
kenji.rikitake@REDACTED
Mon Dec 1 14:53:07 CET 2008
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 <23b409ab0812010456tf16a025w3163e7f388e000b3@REDACTED>
dated Mon, Dec 01, 2008 at 02:55:47PM +0200,
Eugen Sobchenko <esobchenko@REDACTED> 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
More information about the erlang-questions
mailing list