diff --git a/src/composables/useDate.js b/src/composables/useDate.js index a9b6975ff..b1442136f 100644 --- a/src/composables/useDate.js +++ b/src/composables/useDate.js @@ -15,5 +15,9 @@ export function useDate() { return moment(dateString).format('DD-MM-YYYY'); } - return {calculateDaysBetweenDates, formatShortDate}; + function formatDateAndTime(dateString) { + return moment(dateString).format('YYYY-MM-DD hh:mm A'); + } + + return {calculateDaysBetweenDates, formatShortDate, formatDateAndTime}; } diff --git a/src/pages/workflow/components/primary/WorkflowListingEmails.vue b/src/pages/workflow/components/primary/WorkflowListingEmails.vue index 906bff743..27e202ed9 100644 --- a/src/pages/workflow/components/primary/WorkflowListingEmails.vue +++ b/src/pages/workflow/components/primary/WorkflowListingEmails.vue @@ -1,13 +1,25 @@