รายละเอียดทุนการศึกษา/ฝึกอบรม

This commit is contained in:
STW_TTTY\stwtt 2024-04-17 15:44:08 +07:00
parent 7666554388
commit 12c255e82f
4 changed files with 1309 additions and 28 deletions

View file

@ -988,7 +988,7 @@ export const useCounterMixin = defineStore("mixin", () => {
* @param endDate format MM-DD-YYYY"
* @returns 1 10 5
*/
function calculateDurationYmd(startDate: string, endDate: string) {
function calculateDurationYmd(startDate: any, endDate: any) {
if (startDate && endDate) {
const start = new Date(startDate);
const end = new Date(endDate);