From 24f47722c03bbd5799357ebe908d4da4f2f9a2c1 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Sat, 3 Feb 2018 16:02:56 +0100 Subject: [PATCH] Fix careless mistake in 15dc6285 --- src/pretix/plugins/checkinlists/exporters.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/pretix/plugins/checkinlists/exporters.py b/src/pretix/plugins/checkinlists/exporters.py index f8c0e75764..62ed36e4db 100644 --- a/src/pretix/plugins/checkinlists/exporters.py +++ b/src/pretix/plugins/checkinlists/exporters.py @@ -298,13 +298,8 @@ class CSVCheckinList(BaseCheckinList): op.attendee_name or (op.addon_to.attendee_name if op.addon_to else ''), str(op.item.name) + (" – " + str(op.variation.value) if op.variation else ""), op.price, - date_format( - make_aware( - dateutil.parser.parse(last_checked_in), - UTC - ).astimezone(self.event.timezone), - 'SHORT_DATETIME_FORMAT' - ) if last_checked_in else '' + date_format(last_checked_in.astimezone(self.event.timezone), 'SHORT_DATETIME_FORMAT') + if last_checked_in else '' ] if not form_data['paid_only']: row.append(_('Yes') if op.order.status == Order.STATUS_PAID else _('No'))