Skip to content

Commit

Permalink
Order overview PDF: Fix date filter
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Jan 12, 2024
1 parent cd78503 commit c6196f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pretix/plugins/reports/exporters.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def _filter_story(self, doc, form_data, net=False):
story.append(Spacer(1, 5 * mm))

if form_data.get('subevent_date_range'):
d_start, d_end = resolve_timeframe_to_dates_inclusive(now(), form_data['subevent_date_range'], self.timezone)
d_start, d_end = resolve_timeframe_to_datetime_start_inclusive_end_exclusive(now(), form_data['subevent_date_range'], self.timezone)
story += [
Paragraph(_('{axis} between {start} and {end}').format(
axis=_('Event date'),
Expand Down

0 comments on commit c6196f9

Please sign in to comment.