From c59264dee846ce7e2829c52229d64835d2940f9e Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Fri, 21 Mar 2025 23:50:56 +0100 Subject: [PATCH] The Witness: Make sure the 2025 April Fools feature does not go live with RC3 --- worlds/witness/data/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worlds/witness/data/utils.py b/worlds/witness/data/utils.py index 5f5622819d..2de2e5c919 100644 --- a/worlds/witness/data/utils.py +++ b/worlds/witness/data/utils.py @@ -262,6 +262,10 @@ def is_easter_time() -> bool: # Thus, we just take a range from the earliest to latest possible easter dates. today = date.today() + + if today < date(2025, 3, 31): # Don't go live early if 0.6.0 RC3 happens, with a little leeway + return False + earliest_easter_day = date(today.year, 3, 20) # Earliest possible is 3/22 + 2 day buffer for Good Friday last_easter_day = date(today.year, 4, 26) # Latest possible is 4/25 + 1 day buffer for Easter Monday