13 lines
171 B
Svelte
13 lines
171 B
Svelte
<script>
|
|
import dayjs from "dayjs"
|
|
|
|
export let value
|
|
</script>
|
|
|
|
<div>{dayjs(value).format("MMMM D YYYY, HH:mm")}</div>
|
|
|
|
<style>
|
|
div {
|
|
width: 200px;
|
|
}
|
|
</style>
|