Merge branch 'develop' into adiDev
This commit is contained in:
commit
76d5f07f08
5 changed files with 131 additions and 22 deletions
|
|
@ -381,6 +381,12 @@ class Extension {
|
|||
if (val >= 90 && val <= 100) return "ดีเด่น";
|
||||
else return "-";
|
||||
}
|
||||
|
||||
public static toDateOnlyString(date: Date): string {
|
||||
return date.getFullYear() + "-" +
|
||||
String(date.getMonth() + 1).padStart(2, "0") + "-" +
|
||||
String(date.getDate()).padStart(2, "0");
|
||||
}
|
||||
}
|
||||
|
||||
export default Extension;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue