Closed willianjusten closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/willianjusten/nba-remix/6N8meF4QYnu83CxG6NXjdDbQzVij
✅ Preview: https://nba-remix-git-fix-games-home-timezone-willianjusten.vercel.app
I'm going to merge it, since it fixed the issue and I want it live really soon =) There's another PR coming after this one also to handle #25
Sometimes the game starts in a day but ends in the next day, if we're in the next day already but the game started before, it does not show the results.
In order to fix this, I'm using the timezone from the games (America/New_York) and creating a "span" of 6h to show the correct games that are happening.