[BUG] Event happening exactly now shows "In 0m" instead of "LIVE" #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
When an event is happening exactly at the current time (
total_sec = 0), the time formatting shows "In 0m" instead of "LIVE".Root Cause
In
_get_time_data(), the conditionif total_sec < 0(past) catches events that have already started, but whentotal_sec == 0(exactly now), it falls into the "future" branch:Expected Behavior
Events happening exactly now should display as "LIVE", same as events that started less than 1 hour ago.
Proposed Fix
Treat
total_sec == 0as "LIVE" by adjusting the condition:Or add a special case: