1
0
mirror of https://github.com/scoobybejesus/cryptools.git synced 2025-01-18 03:10:15 +00:00

CSV import. Fixed ISO date parsing.

This commit is contained in:
scoobybejesus 2020-11-26 10:13:22 -05:00
parent d4495fa3a6
commit 999b46a904

View File

@ -230,8 +230,8 @@ fn import_transactions(
let separator = &settings.input_file_date_separator;
if iso_date_style {
format_yyyy = "%Y".to_owned() + separator + "%d" + separator + "%m";
format_yy = "%y".to_owned() + separator + "%d" + separator + "%m";
format_yyyy = "%Y".to_owned() + separator + "%m" + separator + "%d";
format_yy = "%y".to_owned() + separator + "%m" + separator + "%d";
} else {
format_yyyy = "%m".to_owned() + separator + "%d" + separator + "%Y";
format_yy = "%m".to_owned() + separator + "%d" + separator + "%y";