Browse Source
Feature/harmonize date formats in import test files (#3910)
* Harmonize date formats
pull/4032/head
Thomas Kaul
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
14 additions and
14 deletions
-
test/import/ok-derived-currency.json
-
test/import/ok-vti-buy-long-history.json
-
test/import/ok-without-accounts.json
-
test/import/ok.json
-
test/import/unavailable-exchange-rate.json
|
@ -23,7 +23,7 @@ |
|
|
"unitPrice": 10875.00, |
|
|
"unitPrice": 10875.00, |
|
|
"currency": "ZAc", |
|
|
"currency": "ZAc", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2024-06-27T22:00:00.000Z", |
|
|
"date": "2024-06-28T00:00:00.000Z", |
|
|
"symbol": "JSE.JO" |
|
|
"symbol": "JSE.JO" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
|
@ -11,7 +11,7 @@ |
|
|
"unitPrice": 65.31, |
|
|
"unitPrice": 65.31, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2012-01-02T22:00:00.000Z", |
|
|
"date": "2012-01-03T00:00:00.000Z", |
|
|
"symbol": "VTI" |
|
|
"symbol": "VTI" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -21,7 +21,7 @@ |
|
|
"unitPrice": 65.40, |
|
|
"unitPrice": 65.40, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2011-01-02T22:00:00.000Z", |
|
|
"date": "2011-01-03T00:00:00.000Z", |
|
|
"symbol": "VTI" |
|
|
"symbol": "VTI" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -31,7 +31,7 @@ |
|
|
"unitPrice": 57.05, |
|
|
"unitPrice": 57.05, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2010-01-03T22:00:00.000Z", |
|
|
"date": "2010-01-04T00:00:00.000Z", |
|
|
"symbol": "VTI" |
|
|
"symbol": "VTI" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
|
@ -11,7 +11,7 @@ |
|
|
"unitPrice": 0, |
|
|
"unitPrice": 0, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2050-06-05T22:00:00.000Z", |
|
|
"date": "2050-06-06T00:00:00.000Z", |
|
|
"symbol": "MSFT" |
|
|
"symbol": "MSFT" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -21,7 +21,7 @@ |
|
|
"unitPrice": 500000, |
|
|
"unitPrice": 500000, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "MANUAL", |
|
|
"dataSource": "MANUAL", |
|
|
"date": "2021-12-31T22:00:00.000Z", |
|
|
"date": "2022-01-01T00:00:00.000Z", |
|
|
"symbol": "Penthouse Apartment" |
|
|
"symbol": "Penthouse Apartment" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -31,7 +31,7 @@ |
|
|
"unitPrice": 0.62, |
|
|
"unitPrice": 0.62, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2021-11-16T22:00:00.000Z", |
|
|
"date": "2021-11-17T00:00:00.000Z", |
|
|
"symbol": "MSFT" |
|
|
"symbol": "MSFT" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -41,7 +41,7 @@ |
|
|
"unitPrice": 298.58, |
|
|
"unitPrice": 298.58, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2021-09-15T22:00:00.000Z", |
|
|
"date": "2021-09-16T00:00:00.000Z", |
|
|
"symbol": "MSFT" |
|
|
"symbol": "MSFT" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
|
@ -23,7 +23,7 @@ |
|
|
"unitPrice": 0, |
|
|
"unitPrice": 0, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2050-06-05T22:00:00.000Z", |
|
|
"date": "2050-06-06T00:00:00.000Z", |
|
|
"symbol": "US5949181045" |
|
|
"symbol": "US5949181045" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -35,7 +35,7 @@ |
|
|
"unitPrice": 500000, |
|
|
"unitPrice": 500000, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "MANUAL", |
|
|
"dataSource": "MANUAL", |
|
|
"date": "2021-12-31T22:00:00.000Z", |
|
|
"date": "2022-01-01T00:00:00.000Z", |
|
|
"symbol": "Penthouse Apartment" |
|
|
"symbol": "Penthouse Apartment" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -47,7 +47,7 @@ |
|
|
"unitPrice": 0.62, |
|
|
"unitPrice": 0.62, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2021-11-16T22:00:00.000Z", |
|
|
"date": "2021-11-17T00:00:00.000Z", |
|
|
"symbol": "MSFT" |
|
|
"symbol": "MSFT" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -59,7 +59,7 @@ |
|
|
"unitPrice": 298.58, |
|
|
"unitPrice": 298.58, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "2021-09-15T22:00:00.000Z", |
|
|
"date": "2021-09-16T00:00:00.000Z", |
|
|
"symbol": "MSFT" |
|
|
"symbol": "MSFT" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -71,7 +71,7 @@ |
|
|
"unitPrice": 0, |
|
|
"unitPrice": 0, |
|
|
"currency": "USD", |
|
|
"currency": "USD", |
|
|
"dataSource": "MANUAL", |
|
|
"dataSource": "MANUAL", |
|
|
"date": "2021-08-31T22:00:00.000Z", |
|
|
"date": "2021-09-01T00:00:00.000Z", |
|
|
"symbol": "Account Opening Fee" |
|
|
"symbol": "Account Opening Fee" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
|
@ -12,7 +12,7 @@ |
|
|
"unitPrice": 0, |
|
|
"unitPrice": 0, |
|
|
"currency": "EUR", |
|
|
"currency": "EUR", |
|
|
"dataSource": "YAHOO", |
|
|
"dataSource": "YAHOO", |
|
|
"date": "1990-01-01T22:00:00.000Z", |
|
|
"date": "1990-01-01T00:00:00.000Z", |
|
|
"symbol": "MSFT" |
|
|
"symbol": "MSFT" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|