Skip to content

Commit

Permalink
use date_fmt that is passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
reshav-abraham committed Jan 21, 2023
1 parent b00f9cb commit 2b6dcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csv2ofx/qif.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class (str): the transaction classification
True
"""
date_fmt = kwargs.get("date_fmt", self.date_fmt)
kwargs.update({"time_stamp": kwargs["date"].strftime("%m/%d/%Y")})
kwargs.update({"time_stamp": kwargs["date"].strftime(date_fmt)})
is_investment = kwargs.get("is_investment")
is_transaction = not is_investment

Expand Down

0 comments on commit 2b6dcb5

Please sign in to comment.