diff options
author | uvok | 2025-04-17 18:42:26 +0200 |
---|---|---|
committer | uvok | 2025-04-17 18:42:26 +0200 |
commit | acedaf85eb6305e6dddf9aa6d318bfc7db289a72 (patch) | |
tree | 2bcb588cda05d196124846f0dc71840d28caed91 /kraken.py | |
parent | 9627c4426614d5ad9d57f56e93ba5c53e10ed387 (diff) |
Include full timestamp in LedgerAction
Diffstat (limited to 'kraken.py')
-rw-r--r-- | kraken.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5,14 +5,13 @@ from ledger_action import LedgerAction def parse_row(row: dict[str, str]) -> LedgerAction: - date = row["time"].split(" ")[0] return LedgerAction( type=row["type"], asset=row["asset"], amount=Decimal(row["amount"]), fee=Decimal(row.get("fee", "0")), refid=row.get("refid", ""), - date=date, + timestamp=row["time"], ) |