mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
The Witness: Make sure the 2025 April Fools feature does not go live with RC3 (#4758)
This commit is contained in:
@@ -262,6 +262,10 @@ def is_easter_time() -> bool:
|
|||||||
# Thus, we just take a range from the earliest to latest possible easter dates.
|
# Thus, we just take a range from the earliest to latest possible easter dates.
|
||||||
|
|
||||||
today = date.today()
|
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
|
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
|
last_easter_day = date(today.year, 4, 26) # Latest possible is 4/25 + 1 day buffer for Easter Monday
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user