diff --git a/training-front-end/src/components/AdminTrainingReport.vue b/training-front-end/src/components/AdminTrainingReport.vue index dd54eac4..a9d98ec4 100644 --- a/training-front-end/src/components/AdminTrainingReport.vue +++ b/training-front-end/src/components/AdminTrainingReport.vue @@ -58,7 +58,7 @@ //format dates from uswds standard to the format needed for backend const formatDateToYYYYMMDD = (dates) => { - return dates ? dates.map(date => (date ? new Date(date).toISOString().split('T')[0] : null)) : []; + return dates ? dates.map(date => (date ? new Date(date).toISOString() : null)) : []; }; async function downloadReport() { diff --git a/training-front-end/src/components/TrainingReportDownload.vue b/training-front-end/src/components/TrainingReportDownload.vue index 04ec594e..2d51c5c2 100644 --- a/training-front-end/src/components/TrainingReportDownload.vue +++ b/training-front-end/src/components/TrainingReportDownload.vue @@ -1,5 +1,5 @@