Compare commits

..

No commits in common. "96776b20c886d1ec19dc574788fbf1d63d96d9d5" and "3064abd4546159bf79c64f3a29416667b4f6490c" have entirely different histories.

2 changed files with 0 additions and 10 deletions

View File

@ -22,10 +22,6 @@ Deno.test("getSeason", () => {
assertEquals(season2?.id, "season202212");
const season3 = getSeason(new Date("2023-03-01T00:00:00+00:00"));
assertEquals(season3?.id, "season202303");
const nonExist = getSeason(new Date("2022-06-09T00:00:00+00:00"));
assertEquals(nonExist, undefined);

View File

@ -18,12 +18,6 @@ export const SEASONS: Season[] = [
start: new Date("2022-12-01T00:00:00+00:00"),
end: new Date("2023-03-01T00:00:00+00:00"),
},
{
id: "season202303",
name: "Fresh Season 2023",
start: new Date("2023-03-01T00:00:00+00:00"),
end: new Date("2023-06-01T00:00:00+00:00"),
},
];
export const getSeason = (date: Date): Season | undefined => {