Fix timezone
This commit is contained in:
parent
d825373542
commit
230e8ea488
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ export function calculateRetireDate(birthDate: Date) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flag) return new Date(`${yy + 60}-09-30T00:00:00.000Z`);
|
if (flag) return new Date(`${yy + 60}-09-30T00:00:00.000+07:00`);
|
||||||
|
|
||||||
return new Date(`${yy + 61}-09-30T00:00:00.000Z`);
|
return new Date(`${yy + 61}-09-30T00:00:00.000+07:00`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue