GetDateTime is invalid for non-standard regional settings


When windows regional settings short date format is set to dd/MM/yyyy (instead of the standard US version of MM/dd/yyyy), GetDateTime function works incorrect.
Changing the DateTime.TryParse line to the following fixes the issue:
if (DateTime.TryParse(GetRealDateString(value), System.Globalization.CultureInfo.GetCultureInfo("en-us"), System.Globalization.DateTimeStyles.None, out result) == false)


yfisaqt wrote Aug 15, 2014 at 7:11 AM

Latest code should address remaining globalization issues. A release will be made shortly.

JezzaT wrote May 20, 2015 at 11:05 AM

The problem in Common.GetDateTime is still there.
Opening sample.qif in ApiTest still throws an error in with windows regional dd/MM/yyyy.

Either, need to try all cultures or give the user some way of specifying what format the dates in the file are.

(For what I use this library for it's not a problem since the dates in my QIF files are in the same format as windows is set to - dd/MM/yyyy)