« Setting Priorities | Main | IBM to open source Rational Software »

October 13, 2005

CultureInfo.InvariantCulture

There was a bug in Swoosh found by a user in Belgium. I wasn't correctly handling the different decimal seperators and date formats for the different cultures. The easy fix was to add CultureInfo.InvariantCulture to the .Parse methods. Here's some more info on storing DateTime values in .NET

http://msdn.microsoft.com/netframework/programming/bcl/faq/DateAndTimeFAQ.aspx#Question9

Posted by mikel at October 13, 2005 05:39 PM

Trackback Pings

TrackBack URL for this entry:
http://WWW.mjberger.COM/cgi-bin/mt-tb.cgi/204

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?