brenapp / robotevents

RobotEvents v2 API Module
https://npm.im/robotevents
15 stars 5 forks source link

seasons.current still returns the 2020-2021 seasons #8

Closed johnholbrook closed 2 years ago

johnholbrook commented 2 years ago

seasons.current still returns the 2020-2021 seasons, rather than the now-current 2021-2022 seasons.

For example, this program:

const vrc_current = re.seasons.current("VRC");
re.seasons.fetch(vrc_current).then(season => {
    console.log(season);
});

results in this output:

{
  id: 139,
  name: 'VRC 2020-2021: Change Up ',
  program: { id: 1, name: 'VEX Robotics Competition', code: 'VRC' },
  start: '2020-04-25T13:00:00-04:00',
  end: '2021-05-18T23:00:00-04:00',
  years_start: 2020,
  years_end: 2021
}
brenapp commented 2 years ago

Updated to 2022-2023 seasons