Am getting the above error in result line
elif interval == 'datetime':
# Localized time
dummy, format_time = self._get_date_formats()
#result = str(date)[0:10].encode()+' '+tools.ustr(date.strftime(format_time + " %Z"))
#result = str(date)[0:10]+' '+tools.ustr(date.strftime(format_time + " %Z"))
result = str(date)[0:10].encode("utf-8") +b" "+tools.ustr(date.strftime(format_time + " %Z"))
Please advice.
The error message itself says what is the issue, carefully check the code and see when you concatenate (+) , the one of the value type is not str, try to find out which one is that and do the necessary