CSV import. Fixed ISO date parsing.
This commit is contained in:
parent
d4495fa3a6
commit
999b46a904
|
@ -230,8 +230,8 @@ fn import_transactions(
|
||||||
let separator = &settings.input_file_date_separator;
|
let separator = &settings.input_file_date_separator;
|
||||||
|
|
||||||
if iso_date_style {
|
if iso_date_style {
|
||||||
format_yyyy = "%Y".to_owned() + separator + "%d" + separator + "%m";
|
format_yyyy = "%Y".to_owned() + separator + "%m" + separator + "%d";
|
||||||
format_yy = "%y".to_owned() + separator + "%d" + separator + "%m";
|
format_yy = "%y".to_owned() + separator + "%m" + separator + "%d";
|
||||||
} else {
|
} else {
|
||||||
format_yyyy = "%m".to_owned() + separator + "%d" + separator + "%Y";
|
format_yyyy = "%m".to_owned() + separator + "%d" + separator + "%Y";
|
||||||
format_yy = "%m".to_owned() + separator + "%d" + separator + "%y";
|
format_yy = "%m".to_owned() + separator + "%d" + separator + "%y";
|
||||||
|
|
Loading…
Reference in New Issue