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?
Non podes atopar unha película ou serie? Inicia sesión para creala.
Queres valorar ou engadir o elemento a unha listaxe?
Non es membro?
Resposta de Travis Bell
no 29 de xullo do 2015 ás 5:39PM
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.