解决办法 替换函数utc_to_local 原代码 # UTC时间转换为时间戳 def utc_to_local(self, utc_time_str, utc_format='%Y-%m-%dT%H:%M:%S'):