elk/components/status/StatusEditIndicator.vue
2022-11-25 16:34:53 +00:00

12 lines
337 B
Vue

<script setup lang="ts">
const props = defineProps<{ editedAt: string }>()
const editedAt = useFormattedDateTime(props.editedAt)
</script>
<template>
<CommonTooltip :content="`Edited ${editedAt}`">
<time :title="props.editedAt" :datetime="props.editedAt" underline decoration-dashed>&nbsp;*</time>
</CommonTooltip>
</template>