Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
678 B ยท 20 lines
TypeScript
123456789101112131415161718192021import { isSameDay } from "./utils";
/** * Blacklist dates where we had issues with data collection */export const blacklistDates: Record<string, string> = { "Fri Aug 25 2023": "OpenStatus faced issues between 24.08. and 27.08., preventing data collection.", "Sat Aug 26 2023": "OpenStatus faced issues between 24.08. and 27.08., preventing data collection.", "Wed Oct 18 2023": "OpenStatus migrated from Vercel to Fly to improve the performance of the checker.",};
export function isInBlacklist(day: Date) { const el = Object.keys(blacklistDates).find((date) => isSameDay(new Date(date), day), ); return el ? blacklistDates[el] : undefined;}