Merge pull request #28638 from overleaf/dp-new-user-cutoff

Update NEW_USER_CUTOFF_DATE for editor redesign split test

GitOrigin-RevId: 15027b191b39f8b9225802bd1c83bc09fa946c4f
This commit is contained in:
David
2025-09-23 09:21:45 +01:00
committed by Copybot
parent 5bc4af9311
commit 5bb998df22

View File

@@ -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