From 2fbaa90d76362cfeb953cff3d156cb80dd004708 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 5 Oct 2020 17:33:19 +0200 Subject: [PATCH] Clarify docstring --- src/pretix/base/models/event.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/base/models/event.py b/src/pretix/base/models/event.py index 8fe541b6c8..1ae9010109 100644 --- a/src/pretix/base/models/event.py +++ b/src/pretix/base/models/event.py @@ -106,8 +106,8 @@ class EventMixin: def get_date_range_display(self, tz=None, force_show_end=False) -> str: """ Returns a formatted string containing the start date and the end date - of the event with respect to the current locale and to the ``show_times`` and - ``show_date_to`` settings. + of the event with respect to the current locale and to the ``show_date_to`` + setting. Times are not shown. """ tz = tz or self.timezone if (not self.settings.show_date_to and not force_show_end) or not self.date_to: