Daniel J. Summers f132970535 Convert success list/view
Also adjusted webpack chunks, added tooling configuration
2021-07-29 23:23:36 -04:00

25 lines
453 B
Vue

<template>
<template v-if="true">{{formatted}}</template>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { format } from 'date-fns'
import { parseToUtc } from './FullDate.vue'
export default defineComponent({
name: 'FullDateTime',
props: {
date: {
type: String,
required: true
}
},
setup (props) {
return {
formatted: format(parseToUtc(props.date), 'PPPppp')
}
}
})
</script>