[Mono-list] System.DateTime.FromOADate

Bernhard Fischer ng at global-mailer.mine.nu
Wed Jan 23 12:02:54 EST 2008


Hi there,

I just wanted to let you know - after installing 1.2.6, I was very 
pleased to see that this bug was fixed.

Bernhard Fischer



Sebastien Pouliot schrieb:
> Hello Bernhard,
>
> Before changing everything I suggest that you invest a little time to
> debug the issue you have with Indy/Mono.
>
> As stated in bug #333700 the issue isn't in DateTime.FromOADate (the
> supplied value is out of range). However if this works on Windows then
> we can assume there is *a* bug somewhere (and probably close).
>
> My personal guess is that happens during parsing the date string...
>
> On Wed, 2007-10-17 at 22:38 +0200, ng at global-mailer.mine.nu wrote:
>   
>> Hi there,
>>
>> does anybody know an alternative for Indy (especially NNTP), working on
>> both Linux/mono and .NET ? Running our application on
>> Windows servers instead of Linux/mono would be a worst case, and there's
>> no time to re-invent the wheel.
>>
>> Bernhard Fischer
>>
>>     
>>> Hi there,
>>>
>>> I read about System.DateTime issues in mono, and now I'm facing one
>>> myself.
>>> The System.DateTime.FromOADate method produces an exception (on mono)
>>> when the date has a negative UTC offset. I am using Indy.NNTP in my
>>> project. Because of this issue, I can't get a news article's date on
>>> mono. Are there any known workarounds for this ?
>>>
>>> Bernhard Fischer
>>> _______________________________________________
>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>       
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>     
>
>   



More information about the Mono-list mailing list