fixes timestamping across timezones

This commit is contained in:
2026-05-14 22:51:04 -07:00
parent cbdc3f7710
commit d32720a2e0
6 changed files with 225 additions and 7 deletions
+6 -1
View File
@@ -8,11 +8,13 @@ class ShowCard extends StatelessWidget {
super.key,
required this.label,
required this.show,
required this.sourceTimezone,
required this.titleColor,
});
final String label;
final LiveInfoShowInfo? show;
final String? sourceTimezone;
final Color titleColor;
@override
@@ -40,7 +42,10 @@ class ShowCard extends StatelessWidget {
),
const SizedBox(width: 8),
Text(
formatStartingTime(show?.starts),
formatStartingTime(
show?.starts,
sourceTimezone: sourceTimezone,
),
style: Theme.of(context).textTheme.labelSmall,
),
],