crabidy/cbd-web/src
Test User c4001df74d web: show track times in mm:ss (or h:mm:ss), matching the TUI
The now-playing clock rendered raw milliseconds as seconds, so a 3:04
track read as 3070:32. TrackPosition carries milliseconds (the TUI wraps
it with Duration::from_millis); convert ms to seconds at both display
sites. The progress gauge already used a position/duration ratio, so it
was unaffected. format_seconds now zero-pads minutes and rolls into
h:mm:ss past an hour, matching the TUI's now-playing pane.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-24 12:23:20 +02:00
..
app.rs web: show track times in mm:ss (or h:mm:ss), matching the TUI 2026-07-24 12:23:20 +02:00
keymap.rs Add a Leptos web client served by the server 2026-07-21 22:43:06 +02:00
main.rs Add a Leptos web client served by the server 2026-07-21 22:43:06 +02:00
rpc.rs Add a Leptos web client served by the server 2026-07-21 22:43:06 +02:00
state.rs web: show track times in mm:ss (or h:mm:ss), matching the TUI 2026-07-24 12:23:20 +02:00