Skip to content

LiveTV guide offset fix#960

Open
idobaruch7 wants to merge 1 commit intodamontecres:mainfrom
idobaruch7:ui-fixes-pr
Open

LiveTV guide offset fix#960
idobaruch7 wants to merge 1 commit intodamontecres:mainfrom
idobaruch7:ui-fixes-pr

Conversation

@idobaruch7
Copy link
Copy Markdown

Description

Fixes a timezone misalignment in the LiveTV guide.

The guide start time (guideStart) was interpreted using the device’s local timezone (e.g. UTC+2), while the backend guide data is based on UTC. This caused the guide window to shift forward by the local offset, effectively hiding the first ~2 hours of programming for users in UTC+2 (and similarly affecting other non-UTC timezones).

This ensures the guide window aligns correctly with backend UTC data and prevents missing early-hour entries.

Related issues

Bug: LiveTV guide skips the first hours of programming when the device timezone is not UTC (e.g. UTC+2).

Steps to reproduce:

  1. Set device timezone to UTC+2.
  2. Open LiveTV guide.
  3. Observe that the first ~2 hours of programming are missing.

Testing

Emulator + Android TV 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant