This commit is contained in:
Viet An
2026-05-07 16:15:33 +07:00
parent 56cfcd09bf
commit ad2d1fbfb6
31 changed files with 356 additions and 367 deletions
+1 -1
View File
@@ -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();