I am rendering a queryset to a template and csv.
models.One2OneInfoLog.objects.filter(one_2_one_info=pk).values_list(Lower('name'), 'location', 'created').order_by('created')
in the template view I get a created value: 16-06-2021, 10:58 in csv file I get: 2021-06-16 08:58:27.780570+00:00
It seems its writing the timestamp in the csv file by deducting 2 hours. Is their some way to correct it? And can I change the formatting to match the template view.