to fix the timezone issue on Django application,which ensures Use_Tz = True in settings of the application, and make sure to set your TIME_ZONE, and use the timezone template filter in the HTML to display the datetime in the timezone :
{% load tz %} {{ datatime_variable|timezone:"America/Sao_Paulo" }}