This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-01 20:13:57 +00:00
|
|
|
<template>
|
|
|
|
<td v-tooltip="+date === 0 ? '' : formatDate(date)">
|
|
|
|
{{ +date === 0 ? '-' : formatDateSince(date) }}
|
|
|
|
</td>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-09-05 20:35:52 +00:00
|
|
|
export default {
|
|
|
|
name: 'date-table-cell',
|
|
|
|
props: {
|
|
|
|
date: {
|
|
|
|
type: Date,
|
|
|
|
default: 0,
|
2020-04-01 20:13:57 +00:00
|
|
|
},
|
2020-09-05 20:35:52 +00:00
|
|
|
},
|
|
|
|
}
|
2020-04-01 20:13:57 +00:00
|
|
|
</script>
|