bug in inets or erlang!

Peter Lund <>
Wed Nov 30 09:45:48 CET 2005


Good you have an opionion. Please enlight us!

I think it is a bug! There is no real reason why this tiny function 
should be causing crashes even if the caller asks for a valid time and 
date, any year in the past, for instance the birth of planet earth 
year some -6 billion or something...

/Peter

Claes Wikstrom wrote:

> Peter Lund wrote:
>
>> Yes, the important question here is if:
>>
>>  erlang:universaltime_to_localtime({{1969,12,31},{23,59,59}}).
>>
>> really should crash the code just because it is 1 sec too early? 
>> No-one seems to have any opinion about it!
>>
>
> I do :-)
>
> /klacke
>





More information about the erlang-questions mailing list