mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
formatDuration rounded seconds after splitting off minutes, so 59.96s printed "60.0s" and 119.97s printed "1m 60.0s". formatBytes compared KB against the MB threshold before rounding, so 1,048,575 bytes printed "1024.0 KB". Round first, then split or compare. Takes over #5817 by @rudycelekli, whose commits could not be merged unsigned. Co-authored-by: Rudy Celekli <rudy@gradiahq.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>