Closed CHUNG-HAO closed 7 months ago
I have fixed five error messages in the examples (save_historical_data.py) :"tzinfo" is not a known member of "None" `` if d is None:
return None # 如果日期没有时区信息,则应用UTC时区 if d.tzinfo is None: d = d.replace(tzinfo=pytz.utc) # 返回时间差的毫秒数 return int((d - epoch).total_seconds() * 1000.0)
``
I have fixed five error messages in the examples (save_historical_data.py) :"tzinfo" is not a known member of "None" `` if d is None:
日期解析失败,返回错误或采取适当的处理方式
``