Show day before the time
This commit is contained in:
parent
cbd520e999
commit
1ab7fbd12e
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ function getDateFmt(date: Date | null): string {
|
|||
const hour = `0${date.getHours()}`.slice(-2);
|
||||
const minute = `0${date.getMinutes()}`.slice(-2);
|
||||
|
||||
return `${hour}:${minute} ${date_str}/${month}/${year}`;
|
||||
return `${date_str}/${month}/${year} ${hour}:${minute}`;
|
||||
}
|
||||
|
||||
async function save(event: DataTableRowEditSaveEvent) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue