Site
Home / Forum / Developers / Fix: Wrong strCurrentSeasons in search_all_leagues

Fix: Wrong strCurrentSeasons in search_all_leagues


Posted: 03 May 2020 15:56

zag


Posts: 3,627
Joined: 2020

Hey there, I think this needs to be fixed

Example :
https://www.thesportsdb.com/api/v1/json ... ?c=England

You can find there 14 strCurrentSeason values at 1920, when it should probably be 2020.

Note: I'm willing to do the work if you want me to

transparent spacer
Posted: 03 May 2020 20:29

zag


Posts: 3,627
Joined: 2020

Hey there, I think this needs to be fixed

Example :
https://www.thesportsdb.com/api/v1/json ... ?c=England

You can find there 14 strCurrentSeason values at 1920, when it should probably be 2020.

Note: I'm willing to do the work if you want me to


1920 = 2019-2020

Let me know if any are wrong though as its always good to check.

transparent spacer
Posted: 04 May 2020 18:33

zag


Posts: 3,627
Joined: 2020

Oh my bad then, didn't seem obvious, now I understand why it's str and int in strCurrentSeason and intFormedYear.

Maybe this needs to be a bit more explicit or actually contain the hyphen, or maybe it's obvious to everyone but me lol

Thanks

transparent spacer

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