Files
amethyst/amethyst
Claude b3b1844a67 fix: translate the call timer, and stop folding hours into its minutes field
The call timer's formatDuration had a different problem from the workout one —
no English words, just "%02d:%02d" — but two real ones underneath.

A call past an hour rendered as "65:12": hours were folded into the minutes
field rather than shown. It now switches to a three-field form at an hour and
keeps the two-field form below it, so a five-minute call still reads "05:23"
rather than the "00:05:23" that reusing DurationTag.formatTime would have
given.

The pattern moves into string resources. The separator and field order belong
to the translator, and String.format without an explicit locale follows the
JVM-wide default rather than the locale Compose is configured with — not the
same thing in an app that ships its own language picker, where the two can
disagree on digit shaping.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019egdJyBHnrATZHjs86up8f
2026-09-17 16:18:19 +00:00
..
2024-06-24 14:13:55 -04:00