Update src/pretix/base/email.py

Co-authored-by: Richard Schreiber <wiffbi@gmail.com>
This commit is contained in:
Raphael Michel
2022-08-11 21:40:45 +02:00
committed by GitHub
parent d62c7553c2
commit d9ce40d0ac

View File

@@ -471,7 +471,7 @@ def base_placeholders(sender, **kwargs):
),
),
SimpleFunctionalMailTextPlaceholder(
'last_order_modification_date_and_time', ['order', 'event'],
'order_modification_deadline_date_and_time', ['order', 'event'],
lambda order, event:
date_format(order.modify_deadline.astimezone(event.timezone), 'SHORT_DATETIME_FORMAT')
if order.modify_deadline