ofxparse
ofxparse copied to clipboard
'str' object has no attribute 'strftime' in ofxprinter
I'm encountering an issue when attempting to utilize the ofxprinter write function. The error info is below:
Traceback (most recent call last):
File "ofx_parse.py", line 32, in
The printDate method of an OfxPrinter object should be called with a first parameter dt.
dt should be a datetime object which does have a strftime method. Looks like in this case the printDate method was called with dt being a string instead of a datetime.