Site
Home / Forum / Developers / Bad dateEvent, strEventTime in v2 feed

Bad dateEvent, strEventTime in v2 feed


Posted: 27 Sep 2021 19:05
[email protected]
Posts: 19
Joined: 2020-07-01

Is there a problem with the dateEvent/strEventTime in the v2 feed for American Football. I'm seeing the following in the feed:

{
"idLiveScore": "16842274",
"idEvent": "1134454",
"strSport": "American Football",
"idLeague": "4391",
"strLeague": "NFL",
"idHomeTeam": "134934",
"idAwayTeam": "134936",
"strHomeTeam": "Dallas Cowboys",
"strAwayTeam": "Philadelphia Eagles",
"strHomeTeamBadge": "https://www.thesportsdb.com/images/media/team/badge/wrxssu1450018209.png",
"strAwayTeamBadge": "https://www.thesportsdb.com/images/media/team/badge/pnpybf1515852421.png",
"intHomeScore": "0",
"intAwayScore": "0",
"strPlayer": null,
"idPlayer": null,
"intEventScore": null,
"intEventScoreTotal": null,
"strStatus": null,
"strProgress": "pre",
"strEventTime": "22:00",
"dateEvent": "2021-09-28",
"updated": "2021-09-27 19:45:21"
}

The game is on 2021-09-28 00:15 UTC.


Posted: 27 Sep 2021 20:16

zag
Posts: 3,330
Joined: 2020-03-23

Data looks good on our site I think.

https://www.thesportsdb.com/event/1134454

Looks like its very close to mid night UTC, Maybe its a time difference thing?

Posted: 28 Sep 2021 14:02
[email protected]
Posts: 19
Joined: 2020-07-01

The game was played on 09/27/2021 19:15 CDT. CDT is 5 hours behind UTC, so the dateEvent, 2021-09-28, strEventTime, 22:00, in the feed equates to CDT date/time, 2021-09-28 17:00. Am I overlooking something? Is the dateEvent/strEventTime in UTC?

Posted: 28 Sep 2021 20:43

zag
Posts: 3,330
Joined: 2020-03-23

Here is the flashscore summary, all looks correct to me and identical to our site for UTC start time and date.

https://www.flashscore.co.uk/match/Ais3IezN/#match-summary/match-summary

The local time and date is completely editable by anyone so its worth correcting if you see an error. We only really guarantee the UTC date so people can programmatically get their local time.

Of course as always anything is editable on our site by anyone.

Posted: 09 Oct 2021 13:45
[email protected]
Posts: 19
Joined: 2020-07-01

Just a FYI, the V1 feeds have the correct game time


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 5 (Total: 5)