refactor: show time
This commit is contained in:
parent
6b688477f1
commit
1e2aeb0afb
2 changed files with 29 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts" setup>
|
||||
// NOTE: Import stores
|
||||
import { dateFormat } from 'src/utils/datetime';
|
||||
import { dateFormatJS } from 'src/utils/datetime';
|
||||
|
||||
// NOTE Import Types
|
||||
import {
|
||||
|
|
@ -96,7 +96,11 @@ defineProps<{
|
|||
:label="$t('taskOrder.workStartDate')"
|
||||
>
|
||||
<template #value>
|
||||
{{ acceptedAt ? dateFormat(acceptedAt) : '-' }}
|
||||
{{
|
||||
acceptedAt
|
||||
? dateFormatJS({ date: acceptedAt, withTime: true })
|
||||
: '-'
|
||||
}}
|
||||
</template>
|
||||
</DataDisplay>
|
||||
|
||||
|
|
@ -105,7 +109,11 @@ defineProps<{
|
|||
:label="$t('taskOrder.workSubmissionDate')"
|
||||
>
|
||||
<template #value>
|
||||
{{ submittedAt ? dateFormat(submittedAt) : '-' }}
|
||||
{{
|
||||
submittedAt
|
||||
? dateFormatJS({ date: submittedAt, withTime: true })
|
||||
: '-'
|
||||
}}
|
||||
</template>
|
||||
</DataDisplay>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue