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 }}