Files
kryz-go-flutter/lib/time_formatter.dart
T
kfj001andCopilot 6893758a16 Refactors visual widgets from live_info_panel into their own widgets.
removes the play history widget from the live info panel.

Co-authored-by: Copilot <copilot@github.com>
2026-05-08 22:42:10 -07:00

12 lines
264 B
Dart

String formatTimeWindow(String? starts, String? ends) {
String formatOne(String? value) {
if (value == null || value.length < 16) {
return '--:--';
}
return value.substring(11, 16);
}
return '${formatOne(starts)} - ${formatOne(ends)}';
}