Hello, i'm having problems with the API and this may be a major issue. Today is 20/Feb/2017 and when I call https://api.themoviedb.org/3/movie/now_playing?api_key=[MY_DEV_APIKEY]&language=pt-BR&page=1®ion=BR the movie ID 376867 returns, but it's release date is 23/Feb/2017. This doesn't happen every call, it's a bit random.
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de Travis Bell
pe data de 20 februarie 2017 la ora 3:34 PM
I have another open post about this but couldn't find it... anyways, I believe there's a date/time rounding problem at a very low level that is making the date alternate between "this Wednesday" and "next Wednesday".
It's kind of a complicated issue though which is why it's not just a simple fix. Any who, I'm aware of it.
Upcoming and now playing are both just pre-made discover queries though, so if you want to build a custom date range, you can do that and replicate everything else about these methods yourself.
Răspuns de fmilioni
pe data de 20 februarie 2017 la ora 4:01 PM
I'll try with discovery. Thanks for your time!