de-bodged CultureInfo handling
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1682b4265e
commit
c3eb30b4c8
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue