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?
Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de Travis Bell
em 29 julho 2015 às 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.