From e5806e275ff92c44748e13bb98680959a203e146 Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Fri, 28 Nov 2025 16:47:42 -0500 Subject: [PATCH] cleaned up date formats a bit --- ui/src/pages/TrainingReport.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/pages/TrainingReport.vue b/ui/src/pages/TrainingReport.vue index b4b062b..648d7a4 100644 --- a/ui/src/pages/TrainingReport.vue +++ b/ui/src/pages/TrainingReport.vue @@ -151,7 +151,7 @@ onMounted(async () => { @click="router.push(`/trainingReport/${report.event_id}`)"> {{ report.course_name.length > 30 ? report.course_shortname : report.course_name }} - {{ report.date }} + {{ report.date.split('T')[0] }} {{ report.created_by_name === null ? "Unknown User" : report.created_by_name }} @@ -173,7 +173,7 @@ onMounted(async () => {

{{ focusedTrainingReport.course_name }}

-

{{ focusedTrainingReport.event_date }}

+

{{ focusedTrainingReport.event_date.split('T')[0] }}

Created by {{ focusedTrainingReport.created_by_name === null ? "Unknown User" : focusedTrainingReport.created_by_name }}