andyedinborough / aenetmail

C# POP/IMAP Mail Client
370 stars 153 forks source link

Update Utilities.cs #73

Closed paolosanchi closed 12 years ago

paolosanchi commented 12 years ago

The problem is caused by the thread local culture, i think that the dotnet framework have a bug in the parse method for the datetime.. if the current culture is italian (or another latin language.. i suppose), it simply do not works for the may month. i wrote this about the topic: http://stackoverflow.com/questions/9521016/datetime-parse-fails-for-today-01-mar-2012-o-0

My fix should work.

andyedinborough commented 12 years ago

I'll update this slightly, but thanks for the catch!

paolosanchi commented 12 years ago

no problem.. thanks to you..