You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uptime-kuma/src/components/Datetime.vue

26 lines
363 B

<template>
<span>{{ displayText }}</span>
</template>
<script>
import dayjs from "dayjs";
import relativeTime from "dayjs/plugin/relativeTime"
dayjs.extend(relativeTime)
export default {
props: {
value: String,
},
computed: {
displayText() {
return this.value
},
}
}
</script>
<style scoped>
</style>