From 060d2db5fd344f4770dcd41d657b04ced0a6f363 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 2 Sep 2024 19:01:09 +0200 Subject: fix Event::timespan() --- lib/Object/Groupware/Event.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Object/Groupware/Event.pm b/lib/Object/Groupware/Event.pm index 1e1df87..2ab3586 100644 --- a/lib/Object/Groupware/Event.pm +++ b/lib/Object/Groupware/Event.pm @@ -115,8 +115,7 @@ method timespan () return '' if $span and $end->clone->truncate( to => 'day' ) ne - $start->clone->truncate( to => 'day' ) - or $self->span; + $start->clone->truncate( to => 'day' ); return ucfirst( $start->format_cldr( $dt_locale->date_format_medium() ) ) if $entry->all_day; -- cgit v1.2.3