From d22dbaf971ba2756f0a9da21f481b29cba1fbc5e Mon Sep 17 00:00:00 2001 From: chiko Date: Mon, 27 Oct 2025 20:02:21 +0100 Subject: [PATCH] Event.get_body() does only print the Diff to Optime if its not 00:00 --- src/component/event/events.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/event/events.ts b/src/component/event/events.ts index 84b84fb..4dffdfd 100644 --- a/src/component/event/events.ts +++ b/src/component/event/events.ts @@ -220,7 +220,7 @@ export class Event implements TEventEntity { const body = [ `Title: ${this.title}`, `Date: ${this.date_at}`, - `Time: ${this.get_time_start()}${ TimeDiff ? ` (Optime ${TimeDiff})` : "" }`, + `Time: ${this.get_time_start()}${ TimeDiff && TimeDiff == "00:00" ? ` (Optime ${TimeDiff})` : "" }`, `Type: ${ TEventType[ this.event_type ] }`, `Location: ${this.location}`, `By: ${this.posted_by}`,