game time formatting to remove space between time and AM/PM

This commit is contained in:
Chuck
2025-07-22 11:23:25 -05:00
parent a580d87876
commit c3ded3999f
10 changed files with 112 additions and 100 deletions

View File

@@ -372,7 +372,7 @@ class BaseMLBManager:
dt = dt.replace(tzinfo=pytz.UTC)
local_dt = dt.astimezone(tz)
return local_dt.strftime("%I:%M %p").lstrip('0')
return local_dt.strftime("%I:%M%p").lstrip('0')
except Exception as e:
logger.error(f"Error formatting game time: {e}")
return "TBD"