python 的datetime replace timezone 为'Asia/Shanghai' 和'PRC',然后取得的时间戳不正确。 print(datetime.now().replace(tzinfo=pytz.timezone('PRC')) ...
確定! 回上一頁