From d59bff36dd3ec6cbe76cc77576a88c3b41b5509d Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 31 Jul 2025 11:54:58 +0800 Subject: [PATCH] date hardcode --- src/utils/Utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/Utils.js b/src/utils/Utils.js index 7f9b817..f42acea 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -184,7 +184,7 @@ export const isPasswordExpiry = () =>{ } export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { - const targetDate = new Date(2025, 6, 25, 0, 0, 0) //2026-01-28T08:00:00.000Z + const targetDate = new Date(2025, 7, 1, 0, 0, 0) //2026-01-28T08:00:00.000Z hardcode // const targetDate = new Date(2025, 6, 13, 8, 0, 0); //2025-07-13T08:00:00.000Z const checkDate = DateUtils.convertToDate(date) if (isDummyLoggedIn()){ @@ -200,7 +200,7 @@ export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { } export const checkIsOnlyOnlinePayment = () => { - const targetDate = new Date(2025, 6, 25, 0, 0, 0) + const targetDate = new Date(2025, 7, 1, 0, 0, 0) // hardcode const checkDate = DateUtils.convertToDate(new Date()) if (isDummyLoggedIn()){ return false; @@ -215,7 +215,7 @@ export const checkIsOnlyOnlinePayment = () => { } export const checkMarkAsCreditClient = () => { - const targetDate = new Date(2025, 6, 25, 0, 0, 0) + const targetDate = new Date(2025, 6, 15, 0, 0, 0) // hardcode const checkDate = DateUtils.convertToDate(new Date()) // console.log(targetDate) // console.log(checkDate >= targetDate)