spoonben / critterpedia-react

because typescript won't do what I want right now

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finish inputting the availabilty

spoonben opened this issue · comments

It would be great if we could do this with a script. But manually works too, it just takes forever.

Basically we need to parse the crap in lists.js into the array of months

So taking

month: "March-September (Northern) / September-March (Southern)",

and turning it into

available: {
     northern: [3, 4, 5, 6, 7, 8, 9],
     southern: [1, 2, 3, 9, 10, 11, 12],
   },

Thomas did this