Site
Home / Forum / Developers / NBA scores not loading properly due to timezone difficulties

NBA scores not loading properly due to timezone difficulties


Posted: 31 Oct 2019 18:15

adamtyoung
Posts: 7
Joined: Sep 2019

It looks like, though the times are tagged properly, some games are still showing up as 'upcoming'. For instance, the Clippers played the Jazz last night, but it is showing as upcoming in the NBA list, even though someone has added the score.

Posted: 01 Nov 2019 10:50

zag
Posts: 1,558
Joined: Oct 2016

It looks like, though the times are tagged properly, some games are still showing up as 'upcoming'. For instance, the Clippers played the Jazz last night, but it is showing as upcoming in the NBA list, even though someone has added the score.

Yes its because we use UTC times here so the match is classified as the next day.

Ideally to fix this I will implement a setting for all users to set their timezones, its on the todo list.

EDIT: Just to say on the Back end data and API there should be fields for both UTC Date and Local Date as well as Local time and UTC time now.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 2 (Total: 2)