mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user