feat: change locale to th-TH (sort date-month-year)
This commit is contained in:
parent
82fc9dd908
commit
87194ca606
1 changed files with 2 additions and 2 deletions
|
|
@ -562,7 +562,7 @@ async function storeDataLocal(id: string) {
|
|||
:code="v.code"
|
||||
:title="v.workName"
|
||||
:created-at="
|
||||
new Date(v.createdAt).toLocaleString('en-US', {
|
||||
new Date(v.createdAt).toLocaleString('th-TH', {
|
||||
hour12: false,
|
||||
})
|
||||
"
|
||||
|
|
@ -570,7 +570,7 @@ async function storeDataLocal(id: string) {
|
|||
(() => {
|
||||
const date = new Date(v.dueDate);
|
||||
date.setHours(23, 59, 59, 0);
|
||||
return date.toLocaleString('en-US', { hour12: false });
|
||||
return date.toLocaleString('th-TH', { hour12: false });
|
||||
})()
|
||||
"
|
||||
:status="$t(`quotation.status.${v.quotationStatus}`)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue