vikunja-frontend/src/components/tasks/reusable/date-table-cell.vue
2020-05-09 19:23:46 +02:00

17 lines
266 B
Vue

<template>
<td v-tooltip="+date === 0 ? '' : formatDate(date)">
{{ +date === 0 ? '-' : formatDateSince(date) }}
</td>
</template>
<script>
export default {
name: 'date-table-cell',
props: {
date: {
type: Date,
default: 0,
}
},
}
</script>