diff --git a/StatementParser/StatementParser/Parsers/Brokers/Fidelity/FidelityStatementParser.cs b/StatementParser/StatementParser/Parsers/Brokers/Fidelity/FidelityStatementParser.cs index 37376ae..32b8262 100644 --- a/StatementParser/StatementParser/Parsers/Brokers/Fidelity/FidelityStatementParser.cs +++ b/StatementParser/StatementParser/Parsers/Brokers/Fidelity/FidelityStatementParser.cs @@ -73,7 +73,7 @@ string removeLastCharFunc(decimal number) private decimal SearchForTaxString(ActivityTaxesModel[] activityTaxesModels, DateTime date) { - return activityTaxesModels.Where(i => i.Date == date.ToString("MM/dd")).FirstOrDefault()?.Tax ?? 0; + return activityTaxesModels.Where(i => i.Date == date.ToString("MM/dd", CultureInfo.InvariantCulture)).FirstOrDefault()?.Tax ?? 0; } private ESPPTransaction CreateESPPTransaction(ActivityBuyModel[] activityBuyModels, ESPPModel esppRow) diff --git a/StatementParser/StatementParserCLI/Properties/launchSettings.json b/StatementParser/StatementParserCLI/Properties/launchSettings.json index d1d1e71..8f95f93 100644 --- a/StatementParser/StatementParserCLI/Properties/launchSettings.json +++ b/StatementParser/StatementParserCLI/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "StatementParserCLI": { "commandName": "Project", - "commandLineArgs": "\"C:\\Users\\vladi\\Downloads\\0228.pdf\"" + "commandLineArgs": "\"C:\\Users\\vladi\\Downloads\\03-31-stat.pdf.pdf\"" } } } \ No newline at end of file