I'm trying to allow users to set their timezone and then use it to grab the tv-shows that's airing today but it doesn't seem to be doing anything at all since I get the same results for almost every timezone. When making this call:
http://api.themoviedb.org/3/tv/airing_today?api_key=###&page=1&timezone=Europe/Stockholm
I get the same results as the default timezone when really I should be getting what's currently airing in Sweden. Am I missing something important here or why isn't this working?
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 29 юли 2015 в 5:39 PM
Hi chrillewoodz,
Keep in mind we don't filter by country, simply by "what day is today". As of this writing (3:30 MST on Jul 29) where it's 7:30 AM on Jul 30th in Sydney, Australia:
Has Hannibal and Under The Dome as #1 & #2. If I change this to Stockholm
Suits and Mr. Robot are # 1 & #2.
There could be an hour offset that we are not properly calculating for daylight savings but other than that, the query should be returning the right days.