From 16472e915dfa32ceb5b9e1ff3a9e9afdc96f674f Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 17 Jun 2020 12:16:24 +0200 Subject: [PATCH] PDF: Show event time on default layout --- src/pretix/plugins/ticketoutputpdf/models.py | 4 ++-- src/pretix/plugins/ticketoutputpdf/ticketoutput.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pretix/plugins/ticketoutputpdf/models.py b/src/pretix/plugins/ticketoutputpdf/models.py index f643f5dacf..488409d8b0 100644 --- a/src/pretix/plugins/ticketoutputpdf/models.py +++ b/src/pretix/plugins/ticketoutputpdf/models.py @@ -104,8 +104,8 @@ class TicketLayout(LoggedModel): "bold":false, "italic":false, "width":"110.00", - "content":"event_date_range", - "text":"May 31st – June 4th, 2017", + "content":"event_begin", + "text":"2016-05-31 20:00", "align":"left" }, { diff --git a/src/pretix/plugins/ticketoutputpdf/ticketoutput.py b/src/pretix/plugins/ticketoutputpdf/ticketoutput.py index 1793bf2414..91f1d3c43a 100644 --- a/src/pretix/plugins/ticketoutputpdf/ticketoutput.py +++ b/src/pretix/plugins/ticketoutputpdf/ticketoutput.py @@ -158,7 +158,7 @@ class PdfTicketOutput(BaseTicketOutput): "text": "John Doe", "align": "left"}, {"type": "textarea", "left": "17.50", "bottom": "242.10", "fontsize": "13.0", "color": [0, 0, 0, 1], "fontfamily": "Open Sans", "bold": False, "italic": False, "width": "110.00", - "content": "event_date_range", "text": "May 31st, 2017", "align": "left"}, + "content": "event_begin", "text": "2017-05-31 20:00", "align": "left"}, {"type": "textarea", "left": "17.50", "bottom": "204.80", "fontsize": "13.0", "color": [0, 0, 0, 1], "fontfamily": "Open Sans", "bold": False, "italic": False, "width": "110.00", "content": "event_location", "text": "Random City", "align": "left"},