Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2025-07-18 14:01:29 +07:00
commit 76d5f07f08
5 changed files with 131 additions and 22 deletions

View file

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