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.
|
<template>
|
|
<td v-tooltip="+date === 0 ? '' : formatDate(date)">
|
|
<time :datetime="date ? formatISO(date) : null">
|
|
{{ +date === 0 ? '-' : formatDateSince(date) }}
|
|
</time>
|
|
</td>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
defineProps({
|
|
date: {
|
|
type: Date,
|
|
default: 0,
|
|
},
|
|
})
|
|
</script>
|