[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor

fix(status-page): render sub-second latency range in ms (#2394) master

formatMillisecondsRange divided the min endpoint by 1000 whenever both endpoints were below 1000ms, so a 111ms p75 rendered as "0.111 - 155 ms". Only convert to seconds when both endpoints exceed 1000ms; otherwise keep both in milliseconds. Add regression tests for the sub-second, seconds, and mixed ranges. Claude-Session: https://claude.ai/code/session_019Ey9aBbaSKC8LuF1JQQBot Co-authored-by: Claude <noreply@anthropic.com>


+41 -2
2 changed files