mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 21:33:00 +00:00
Remove leading zero from upcoming game time display
This commit is contained in:
@@ -177,7 +177,7 @@ class BaseNHLManager:
|
|||||||
if start_time_utc:
|
if start_time_utc:
|
||||||
# Convert to local time
|
# Convert to local time
|
||||||
local_time = start_time_utc.astimezone()
|
local_time = start_time_utc.astimezone()
|
||||||
game_time = local_time.strftime("%I:%M %p")
|
game_time = local_time.strftime("%-I:%M %p")
|
||||||
game_date = local_time.strftime("%b %d")
|
game_date = local_time.strftime("%b %d")
|
||||||
|
|
||||||
details = {
|
details = {
|
||||||
|
|||||||
Reference in New Issue
Block a user