From 5bb998df224cf4d5afb86b2a55c42c66cb457aca Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Tue, 23 Sep 2025 09:21:45 +0100 Subject: [PATCH] Merge pull request #28638 from overleaf/dp-new-user-cutoff Update NEW_USER_CUTOFF_DATE for editor redesign split test GitOrigin-RevId: 15027b191b39f8b9225802bd1c83bc09fa946c4f --- .../js/features/ide-redesign/utils/new-editor-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts b/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts index 8e08a454d4..50eda5c5a4 100644 --- a/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts +++ b/services/web/frontend/js/features/ide-redesign/utils/new-editor-utils.ts @@ -5,8 +5,8 @@ import { isSplitTestEnabled, getSplitTestVariant } from '@/utils/splitTestUtils' export const ignoringUserCutoffDate = new URLSearchParams(window.location.search).get('skip-new-user-check') === 'true' -// TODO: change this when we have a launch date -const NEW_USER_CUTOFF_DATE = new Date('2100-01-01') + +const NEW_USER_CUTOFF_DATE = new Date(Date.UTC(2025, 8, 23, 13, 0, 0)) // 2pm British Summer Time on September 23, 2025 export const isNewUser = () => { if (ignoringUserCutoffDate) return true