diff --git a/transaction.py b/transaction.py index 2ebf59c..e7b995f 100644 --- a/transaction.py +++ b/transaction.py @@ -43,7 +43,7 @@ def load_from_csv(self, data: List): Args: data: list form of a transaction csv row """ - self.date = data[0] + self.date = datetime.strptime(data[0], "%m/%d/%Y") self.vendor = data[1] self.amount = data[3] self.debit = data[4]