Skip to content

fix(parkour): times being n/a when they equal 0 - #921

Open
Kathund wants to merge 3 commits into
Statsify:mainfrom
Kathund:fix/parkour/na-time
Open

Kathund wants to merge 3 commits into
Statsify:mainfrom
Kathund:fix/parkour/na-time

Conversation

@Kathund

@Kathund Kathund commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Closes
https://discord.com/channels/692521100650741781/1556677529618874449

Description:
Related issues (if exists):

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
statsify Skipped Skipped Oct 6, 2026 4:06am UTC

A 0ms parkour time is falsy, so the profile showed N/A and sorted it last. Replace the truthiness checks with a hasTime guard that only treats null, undefined, and NaN as missing. Unplayed lobbies still show N/A, and 0ms now sorts first.

This branch was previously deployed

1 inactive deployment
Preview — b41f2c92 Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants