mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
game time formatting to remove space between time and AM/PM
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user