Skip to content

Fix Go duration parsing in Broadside visualiser#4725

Merged
mauriceyap merged 2 commits intomasterfrom
broadside-vis-go-dur-parsing
Mar 2, 2026
Merged

Fix Go duration parsing in Broadside visualiser#4725
mauriceyap merged 2 commits intomasterfrom
broadside-vis-go-dur-parsing

Conversation

@mauriceyap
Copy link
Collaborator

toMs() was calling parseFloat() on compound durations like "28m35.01s", which only parsed the leading digits and silently dropped the minutes component. fmtMs() also only formatted up to seconds.

toMs() was calling parseFloat() on compound durations like "28m35.01s", which only parsed the leading digits and silently dropped the minutes component. fmtMs() also only formatted up to seconds.
@mauriceyap mauriceyap enabled auto-merge (squash) March 2, 2026 11:43
@mauriceyap mauriceyap merged commit 8e42a6f into master Mar 2, 2026
14 of 15 checks passed
@mauriceyap mauriceyap deleted the broadside-vis-go-dur-parsing branch March 2, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants