ปรับ mixin Date และเพิ่มไฟล์ ตำแหน่ง/เงินเดือน
This commit is contained in:
parent
c91482ef7c
commit
0d4146e923
8 changed files with 6644 additions and 6 deletions
|
|
@ -125,14 +125,17 @@ export const useCounterMixin = defineStore("mixin", () => {
|
|||
}
|
||||
let dstTime = "";
|
||||
if (isTime) {
|
||||
const H = date.getHours().toString().padStart(2, "0");
|
||||
const M = date.getMinutes().toString().padStart(2, "0");
|
||||
// const H = date.getHours().toString().padStart(2, "0");
|
||||
// const M = date.getMinutes().toString().padStart(2, "0");
|
||||
const H = date.getHours().toString().padStart(2);
|
||||
const M = date.getMinutes().toString().padStart(2);
|
||||
// const S = date.getSeconds().toString().padStart(2, "0")
|
||||
// dstTime = " " + H + ":" + M + ":" + S + " น."
|
||||
dstTime = " " + H + ":" + M + " น.";
|
||||
}
|
||||
return (
|
||||
date.getDate().toString().padStart(2, "0") +
|
||||
// date.getDate().toString().padStart(2, "0") +
|
||||
date.getDate().toString().padStart(2) +
|
||||
" " +
|
||||
dstMonth +
|
||||
" " +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue