소스 검색

hardcode date comment

CR013B2
Jason Chuang 1 주 전
부모
커밋
2b4fb8e7ba
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. +2
    -4
      src/utils/Utils.js

+ 2
- 4
src/utils/Utils.js 파일 보기

@@ -194,8 +194,7 @@ export const isPasswordExpiry = () =>{
}

export const checkIsOnlyOnlinePaymentByIssueDate = (date) => {
// const targetDate = new Date(2025, 7, 1, 0, 0, 0) //2026-01-28T08:00:00.000Z hardcode
const targetDate = new Date(2025, 11, 17, 0, 0, 0) //2026-01-28T08:00:00.000Z
const targetDate = new Date(2025, 11, 17, 0, 0, 0); // hardcode new Date(2026, 0, 28, 0, 0, 0) 28 Jan 2026
const checkDate = DateUtils.convertToDate(date)
if (isDummyLoggedIn()){
return false;
@@ -237,8 +236,7 @@ export const checkMarkAsCreditClient = () => {
}

export const checkIsNoPaymentByCreateDate = (date) => {
// const targetDate = new Date(2025, 10, 18, 0, 0, 0) //2026-01-28T08:00:00.000Z hardcode
const targetDate = new Date(2025, 11, 17, 0, 0, 0) //2026-01-28T08:00:00.000Z
const targetDate = new Date(2025, 11, 17, 0, 0, 0) // hardcode new Date(2026, 0, 28, 0, 0, 0) 28 Jan 2026
const checkDate = DateUtils.convertToDate(date)
if (isDummyLoggedIn()){
return false;


불러오는 중...
취소
저장