changes
This commit is contained in:
@@ -529,7 +529,7 @@ const formatCellValue = (value, field) => {
|
||||
}
|
||||
|
||||
if (field.format === "date") {
|
||||
return $dayjs(value).format("DD/MM/YYYY");
|
||||
return $dayjs(value).format("L");
|
||||
}
|
||||
|
||||
return value;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<span :style="color ? `color:${color}` : ''">{{ $dayjs(date).format("DD/MM/YYYY") }}</span>
|
||||
<span :style="color ? `color:${color}` : ''">{{ $dayjs(date).format("L") }}</span>
|
||||
</template>
|
||||
<script setup>
|
||||
const { $dayjs } = useNuxtApp();
|
||||
|
||||
Reference in New Issue
Block a user