From 2d57f3ed557b350e971f3d35d0fecba8bce7cfa0 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 6 Oct 2025 08:13:42 +0800 Subject: [PATCH] update --- src/utils/Utils.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/Utils.js b/src/utils/Utils.js index 89fa95e..383ac6a 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -195,7 +195,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, 9, 17, 8, 0, 0) //2025-10-17T08:00:00.000Z + const targetDate = new Date(2025, 9, 17, 0, 0, 0) //2025-10-17T08:00:00.000Z const checkDate = DateUtils.convertToDate(date) if (isDummyLoggedIn()){ return false; @@ -211,13 +211,13 @@ export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { export const checkIsOnlyOnlinePayment = () => { // const targetDate = new Date(2025, 28, 0, 0, 0, 0) // hardcode - const targetDate = new Date(2025, 9, 10, 0, 0, 0) // hardcode + const targetDate = new Date(2025, 9, 8, 0, 0, 0) // hardcode const checkDate = DateUtils.convertToDate(new Date()) if (isDummyLoggedIn()){ return false; } - // console.log(checkDate) - // console.log(targetDate) + console.log(checkDate) + console.log(targetDate) if (checkDate >= targetDate) { return true } else { @@ -227,7 +227,7 @@ export const checkIsOnlyOnlinePayment = () => { export const checkIsOnlyOnlinePaymentApply = (tickAccept) => { // const targetDate = new Date(2025, 28, 0, 0, 0, 0) // hardcode - const targetDate = new Date(2025, 9, 10, 0, 0, 0) // hardcode + const targetDate = new Date(2025, 9, 8, 0, 0, 0) // hardcode const checkDate = DateUtils.convertToDate(new Date()) if (isDummyLoggedIn()){ return false;