Django time zone problem


In the Ubuntu environment:

If you are The time zone has been set in the file. Please open the terminal to input the commanddate -RCheck if it is correct. If not, pleasetimedatectl set-timezone Asia/ShanghaiChange the time zone of Linux system, and then change the time as welldate -s ‘2020-03-27 11:50:00’(the time here can be changed to the time you want to modify.).