Upstream contribution · openclaw/Peekaboo
Peekaboo · Carry rounded durations into the next unit in Peekaboo
Problem
Peekaboo could display 59.95 seconds as 60.0 seconds even though 60 seconds used a minutes label. The same inconsistency appeared at the microsecond and millisecond boundaries in its activity views.
Engineering response
Share rollover behavior across the compact and detailed formatters. After rounding, carry values into the appropriate next unit and handle unrepresentable inputs.
Evidence and scope
The pull request reports passing cases for 13 compact, seven detailed and four unrepresentable duration values in the Swift formatter suite.