Render EPG starttime to a specific TimeZone

:warning: Before you continue


Before submitting a bug report, please review our troubleshooting documentation at Troubleshoot Issues | Vega Troubleshooting

If you still want to file a bug report, please make sure to fill in all the details below and provide the necessary information.

NOTE: PLEASE ONLY REPORT A SINGLE BUG USING THIS TEMPLATE.
If you’re experiencing multiple issues, please file a separate report for each.


:backhand_index_pointing_right: Bug Description


1. Summary

Provide a brief description of the bug in the SDK and its impact on app functionality.

After some testing in different TimeZones, we have found some missmatching between the starttime and endtime for the same program in different countries.

App Name:

VIX

Bug Severity
Select one that applies

  • Impacts operation of app
  • Blocks current development
  • Improvement suggestion
  • Issue with documentation (If selected, please share the doc link and describe the issue)
  • Other

2. Steps to Reproduce

  1. Open the ViX app.

  2. Select EPG Live on the side menu.

  3. Take a look at the hours of the asset.

  4. Compare the time with the local time or with another platform, such as the Web

3. Observed Behavior

Explain what actually happened, noting any discrepancies or malfunctions.

The start time and endtime does not match the same times as the VIX Web for different timezones (countries)

4. Expected Behavior

Describe what you expected the SDK to do under normal operation.

The time should match the same on both platforms for the same timezone

4.a Possible Root Cause & Temporary Workaround

Fill out anything you have tried. If you don’t know, N/A is acceptable

Not sue

5. Logs or crash report

6. Environment

Please fill out the fields related to your bug below:

  • SDK Version: Run vega --version (v0.22+)
    Active SDK Version: 0.22.6150

    Vega CLI Version: 1.2.13

  • App State: Foreground

  • OS Information: Please ssh into the device via vega exec vda shell (or kepler exec vda shell for v0.21 and earlier) and copy the output from cat /etc/os-release into the answer section below. Note, if you don’t have a simulator running or device attached, the command will respond with vda: no devices/emulators found

    sh(com.amazon.dev.shell):/$ cat /etc/os-release
    NAME="OS"
    OE_VERSION="4.0.0"
    OS_MAJOR_VERSION="1"
    OS_MINOR_VERSION="1"
    RELEASE_ID="14"
    OS_VERSION="1.1"
    BRANCH_CODE="TV Ship day60"
    BUILD_DESC="OS 1.1 (TV Ship day60/102)"
    BUILD_FINGERPRINT="4.0.253712.0(3072cab629675a74)/102N:user/release-keys"
    BUILD_VARIANT="user"
    BUILD_TAGS="release-keys"
    BUILD_DATE="Fri Mar 20 21:10:28 UTC 2026"
    BUILD_TIMESTAMP="1774041028"
    VERSION_NUMBER="1401010010220"
    

:backhand_index_pointing_right: Additional Context


Any Additional Context you would like to provide?
Add any other relevant information, such as recent updates to the SDK, dependencies, or device OS that may affect the bug.

For some other sections of the app we are setting the times using 

.toLocaleString('en-US', { timeZone })

Hi @Jordi_Garcia ,

Thank you for the detailed bug report on Render EPG starttime to a specific TimeZone.

The Vega EPG component expects startTime/endTime as milliseconds from epoch (see Data Model( EPG | Vega Libraries )).

Our team is investigating this issue and will provide an update as soon as we have more information. To help us investigate, could you share:

  • A sample startTime value you’re passing to updateData()
  • The expected vs. observed display time
  • The device timezone setting (check via vega exec vda shell → date)

Thanks for helping us improve the Vega platform.

Warm regards,
Aishwarya

Hi Aishwarya, thanks for the quick response, this is the information you asked

A sample startTime value you’re passing to updateData()
“startTime”:1779100200000,
“endTime”:1779107400000,
(Those times are inside a full program structure)

The expected vs. observed display time:
Expected:

Observed:

The device timezone setting (check via vega exec vda shell → date)

##################################################

#####     Welcome to Developer mode Shell    #####

##################################################

sh(com.amazon.dev.shell):/$ date

Mon May 18 21:12:41 UTC 2026

Please let me know if I can share something else with you, thank you!