This commit is contained in:
Viet An
2026-05-07 15:01:09 +07:00
parent 56cfcd09bf
commit ad2d1fbfb6
31 changed files with 356 additions and 367 deletions

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;

View File

@@ -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();