From ef6582bc0a3f5081a5a3c23ca365e377ccf3b11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 15 Sep 2022 01:12:45 +0000 Subject: [PATCH] Add time to EventDate --- ui/src/components/calendar/EventDate.vue | 25 ++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/ui/src/components/calendar/EventDate.vue b/ui/src/components/calendar/EventDate.vue index 9c83e59..46d660c 100644 --- a/ui/src/components/calendar/EventDate.vue +++ b/ui/src/components/calendar/EventDate.vue @@ -1,9 +1,18 @@ @@ -23,13 +32,17 @@ export default class EventDate extends Vue { private get month(): string { return this.date.toFormat("MM."); } + + private get time(): string { + return this.date.toLocaleString(DateTime.TIME_24_SIMPLE); + } }