I\'m trying to compare datetime objects in a list to a constant datetime, but I keep getting returned AttributeError: \'str\' object has no attribute \'time\'
AttributeError: \'str\' object has no attribute \'time\'