From 5a128bfcbd5e27771c720e5219241fde8560a348 Mon Sep 17 00:00:00 2001 From: Sesh Sadasivam Date: Mon, 1 Apr 2024 05:45:31 +0000 Subject: [PATCH] Fix April Fools should_load definitions --- VERSION | 2 +- src_js/conditional_plugins/should_load_plugin.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 70ad429..e22fa23 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.10.2 \ No newline at end of file +1.10.3.d \ No newline at end of file diff --git a/src_js/conditional_plugins/should_load_plugin.ts b/src_js/conditional_plugins/should_load_plugin.ts index 3730dfb..91603ce 100644 --- a/src_js/conditional_plugins/should_load_plugin.ts +++ b/src_js/conditional_plugins/should_load_plugin.ts @@ -34,7 +34,7 @@ export function shouldLoadPlugin(pluginId: string): boolean { case 'april_fools_languages': // Enable April Fools Language joke only on even years - if (new Date().getFullYear() % 2 === 1) { + if (new Date().getFullYear() % 2 === 0) { break; } // Console message if we are *just* past the April Fools end-date. @@ -53,7 +53,7 @@ export function shouldLoadPlugin(pluginId: string): boolean { return shouldShowAprilFoolsPlugin(); case 'april_fools_star_wars': - // Enable April Fools Star Wars joke only on even years + // Enable April Fools Star Wars joke only on odd years if (new Date().getFullYear() % 2 === 1) { break; }