Clarify docstring

This commit is contained in:
Raphael Michel
2020-10-05 17:33:19 +02:00
parent 93f10d33a9
commit 2fbaa90d76

View File

@@ -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: