/**
 * Racer X's schedule/points URLs are keyed by championship year (e.g. /sx/2026/schedule).
 * Rather than hardcoding that year across every scraper and API route - which would need a
 * manual code change every season - default to the current calendar year everywhere. Once
 * Racer X publishes a new season's data at /{series}/{nextYear}/..., the site starts serving
 * it automatically the next time this is evaluated (no redeploy required).
 */
export function getCurrentSeasonYear(): number {
  return new Date().getFullYear();
}
