Wsparcie 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 odpowiedź (strona 1 z 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.

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj