How do I get a specific timezone aware date in Django?

后端 未结 0 1915
傲寒
傲寒 2021-01-27 17:18

I\'m creating a date() object like this

pytz_timezone = pytz.timezone(specific_timezone)

start = request.query_params.get("start")

timestamp = datetim         


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