날짜 기준 15일 -> 월기준 15일로 변경 했는데 잘될지는 모르겟음 (TODO 15일로 변경 되어야됨)
임산물 / 은행자동이체도 바꾸엇지만 잘될지는 모르겠음,,,,ㅠ
This commit is contained in:
@@ -819,8 +819,7 @@
|
||||
|
||||
// 오늘 날짜가 해당 달의 마지막 날인지 확인
|
||||
const today = new Date();
|
||||
//const lastDayOfMonth = new Date(today.getFullYear(), today.getMonth() + 1, 0); // 해당 달의 마지막 날
|
||||
const lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 22); // TODO 삭제 테스트를 위해 22일로 수정
|
||||
const lastDayOfMonth = new Date(today.getFullYear(), today.getMonth() + 1, 0); // 해당 달의 마지막 날
|
||||
// 마지막 alert 날짜 확인
|
||||
const lastAlertDate = sessionStorage.getItem('lastAlertDate');
|
||||
const todayDateString = today.toDateString();
|
||||
|
||||
Reference in New Issue
Block a user