Axuda de The Movie Database

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?

1 resposta (na páxina 1 de 1)

Jump to last post

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:

http://api.themoviedb.org/3/tv/airing_today?api_key=###&timezone=America/Edmonton

Has Hannibal and Under The Dome as #1 & #2. If I change this to Stockholm

http://api.themoviedb.org/3/tv/airing_today?api_key=###&timezone=Australia/Sydney

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.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión