mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 01:46:07 +00:00
add time for confirmedAt
This commit is contained in:
parent
c0ec697f64
commit
26ed7e5a19
@ -135,6 +135,8 @@ const noHashtag = ref(null)
|
||||
const hideResubmissionModel = ref(true)
|
||||
|
||||
const formatDateOrDash = (value) => (value ? new Date(value).toLocaleDateString() : '—')
|
||||
const formatDateTimeOrDash = (value) => (value ? new Date(value).toLocaleString() : '—')
|
||||
|
||||
const baseFields = {
|
||||
firstName: { key: 'user.firstName', label: t('firstname'), class: 'no-select' },
|
||||
lastName: { key: 'user.lastName', label: t('lastname'), class: 'no-select' },
|
||||
@ -156,7 +158,7 @@ const baseFields = {
|
||||
key: 'confirmedAt',
|
||||
label: t('contributions.confirms'),
|
||||
class: 'no-select',
|
||||
formatter: formatDateOrDash,
|
||||
formatter: formatDateTimeOrDash,
|
||||
},
|
||||
confirmedBy: { key: 'confirmedBy', label: t('moderator.moderator'), class: 'no-select' },
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user