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

Eugen Sobchenko esobchenko@REDACTED
Mon Dec 1 13:56:10 CET 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081201/f7cb1906/attachment.htm>


More information about the erlang-questions mailing list