Python. pytz and datetime.astimezone not behaving as expected

前端 未结 0 540
攒了一身酷
攒了一身酷 2020-11-30 03:42

I have a datetime object saved in a django field. I query it, change the timezone and print it, this is the code and what I get:

Code:

    print("         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题