Skip to content

Commit

Permalink
Fix April Fools should_load definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
seshrs committed Apr 1, 2024
1 parent f5a17e7 commit 5a128bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.2
1.10.3.d
4 changes: 2 additions & 2 deletions src_js/conditional_plugins/should_load_plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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;
}
Expand Down

0 comments on commit 5a128bf

Please sign in to comment.