Added april fools to API
diff --git a/.vscode/settings.json b/.vscode/settings.json
index e4b24b9..5b6467b 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -31,5 +31,8 @@
"tsparticles",
"unban",
"viewas"
+ ],
+ "githubPullRequests.ignoredPullRequestBranches": [
+ "production"
]
}
\ No newline at end of file
diff --git a/pages/api/season.js b/pages/api/season.js
index 87d650d..4a48d29 100644
--- a/pages/api/season.js
+++ b/pages/api/season.js
@@ -5,14 +5,16 @@
pride: [new Date(`${year}-6-1`), new Date(`${year}-6-31`)],
halloween: [new Date(`${year}-10-25`), new Date(`${year}-11-1`)],
trans: [new Date(`${year}-11-13`), new Date(`${year}-11-19`)],
- christmas: [new Date(`${year}-12-1`), new Date(`${year}-12-26`)]
+ christmas: [new Date(`${year}-12-1`), new Date(`${year}-12-26`)],
+ aprilFools: [new Date(`${year}-04-01`), new Date(`${year}-04-01`)]
}
const filePaths = {
normal: "normal",
halloween: "seasonal/halloween",
christmas: "seasonal/christmas",
pride: "seasonal/pride",
- trans: "seasonal/trans"
+ trans: "seasonal/trans",
+ aprilFools: "seasonal/aprilFools"
}
let current = new Date();