经常遇到这种:'2021-01-27T09:38:40Z' UTC datetime格式,要转换成本地timezone格式
success_time = pd.Timestamp('2021-01-27T09:38:40Z'['completedAt'],tz="Asia/Shanghai").strftime("%Y-%m-%d %H:%M:%S")
print(f"refresh done at {success_time}!")
经常遇到这种:'2021-01-27T09:38:40Z' UTC datetime格式,要转换成本地timezone格式
success_time = pd.Timestamp('2021-01-27T09:38:40Z'['completedAt'],tz="Asia/Shanghai").strftime("%Y-%m-%d %H:%M:%S")
print(f"refresh done at {success_time}!")