jbennett979 / Open-Source-Project

MIT License
0 stars 7 forks source link

datetime_convert.py: Runtime error #18

Open Holmes-rgb opened 6 days ago

Holmes-rgb commented 6 days ago

When the file is run python returns the error

datetime_convert.py", line 4, in date_obj = datetime.strip(datetime, '%m-%d-%Y %H:%M:%S') AttributeError: type object 'datetime.datetime' has no attribute 'strip'

Holmes-rgb commented 6 days ago

the issue is that the function should be .striptime() and make sure to print the formatted time