From d6b185193e5da320f08f4090993f48f180e7e5a0 Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Wed, 1 Jul 2020 12:24:04 +0200 Subject: [PATCH] Fix Timezone in Checkinlist --- src/pretix/plugins/checkinlists/exporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/plugins/checkinlists/exporters.py b/src/pretix/plugins/checkinlists/exporters.py index 34f28eff9e..72b9cb61a7 100644 --- a/src/pretix/plugins/checkinlists/exporters.py +++ b/src/pretix/plugins/checkinlists/exporters.py @@ -319,7 +319,7 @@ class PDFCheckinList(ReportlabExportMixin, CheckInListMixin, BaseExporter): if self.event.has_subevents and not cl.subevent: item += '
{} ({})'.format( op.subevent.name, - date_format(op.subevent.date_from, 'SHORT_DATETIME_FORMAT') + date_format(op.subevent.date_from.astimezone(self.event.timezone), 'SHORT_DATETIME_FORMAT') ) if op.seat: item += '
' + str(op.seat)