From 9f56af14a75ae410c26eb0317971d51ae1574f6a Mon Sep 17 00:00:00 2001 From: Jake Meyer Date: Mon, 19 Sep 2022 09:31:51 -0500 Subject: [PATCH] parser fix for upcoming launches --- jobs/upcoming.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jobs/upcoming.js b/jobs/upcoming.js index ef05819c..1cac82ce 100644 --- a/jobs/upcoming.js +++ b/jobs/upcoming.js @@ -60,6 +60,7 @@ export default async () => { .replace(/~|(\[|\])/gi, '') .replace(/(early|mid|late|end|tbd|tba|net)/gi, ' ') .replace(/-[0-9]{2}:[0-9]{2}/gi, ' ') + .replace(/(\(|\)|\?)/gi, ' ') // Removes (?) from dates .split('/')[0].trim()); const rawWikiDates = allWikiDates.slice(0, 30);