Skip to content

Commit

Permalink
more formats
Browse files Browse the repository at this point in the history
  • Loading branch information
vov4uk committed Jun 27, 2024
1 parent 5464775 commit 5627f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Financier.Desktop/Helpers/MapperHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static BankTransaction ToBankTransaction(Abank_Row item)

DateTime dt;

var formats = new[] { "dd.MM.yyyy H:mm:ss", "dd.MM.yyyy H:mm"};
var formats = new[] { "dd.MM.yyyy HH:mm:ss", "dd.MM.yyyy HH:mm", "dd.MM.yyyy h:mm:ss", "dd.MM.yyyy h:mm" };
DateTime.TryParseExact(item.Date, formats, CultureInfo.InvariantCulture, DateTimeStyles.None, out dt);

return new BankTransaction
Expand Down

0 comments on commit 5627f41

Please sign in to comment.