Closed Lanius-collaris closed 6 months ago
@Lanius-collaris is attempting to deploy a commit to the OONI Team on Vercel.
A member of the Team first needs to authorize it.
ping @majakomel
@sloncocs 🥲Could you review #886 and #884 ?
@sloncocs 🥲Could you review #886 and #884 ?
unfortunately, I cannot as I am not a developer 😢 but I think the right person to tag here is @jbonisteel
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
explorer | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 6, 2024 7:07pm |
🥲This patch doesn't work for master. Checking...
🥲This patch doesn't work for master. Checking...
dt.getUTCFullYear() === today.getUTCFullYear()
🤦 In January, you can't get last month data...
https://github.com/ooni/explorer/blob/b2f2333c723fb632cf9af3b489845ed82e956ddd/components/landing/Stats.js#L43-L50
Because there is no data in January 2024, after .slice(0,-1)
, all fields of lastMonth are set to 0.
Fixes #873