Skip to content

Commit

Permalink
Merge pull request #264 from eecs485staff/april-fools-fix
Browse files Browse the repository at this point in the history
Fix April Fools should_load definitions
  • Loading branch information
seshrs authored Apr 1, 2024
2 parents f5a17e7 + 5a128bf commit 13932d2
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 13932d2

Please sign in to comment.