diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-09-02 19:01:09 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-09-02 19:01:09 +0200 |
commit | 060d2db5fd344f4770dcd41d657b04ced0a6f363 (patch) | |
tree | ebe8dfb1d105f2317d7f722ac5ea8011292fdf3a | |
parent | 0c309e27a4219542457063fa24edf18525f27a02 (diff) |
fix Event::timespan()
-rw-r--r-- | lib/Object/Groupware/Event.pm | 3 |
1 files changed, 1 insertions, 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; |