de-bodged CultureInfo handling
continuous-integration/drone/push Build is passing Details

master
Pecha 2 years ago
parent 1682b4265e
commit c3eb30b4c8

@ -100,7 +100,7 @@ namespace BunyMuny {
case Bank.NAB:
value = decimal.Parse(csv.GetField(1));
(category, description) = MatchAgainstRules(rules, csv.GetField(5));
date = DateTime.ParseExact(csv.GetField(0), "dd MMM yy", CultureInfo.CurrentCulture);
date = DateTime.ParseExact(csv.GetField(0), "dd MMM yy", CultureInfo.GetCultureInfoByIetfLanguageTag("en-AU"));
originalDescription = csv.GetField(5);
break;
@ -164,7 +164,6 @@ namespace BunyMuny {
return (rule.Category, rule.Description);
}
}
return (null, null);
}
}

Loading…
Cancel
Save