Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Add timezone support to the /tv/airing_today method

#364

Reported by Travis Bell · March 17th, 2014 @ 08:50 AM

State: resolved
Milestone: Magnolia
Assigned to: Travis Bell Travis Bell

Activity

  1. Travis Bell
    Travis Bell
    • State changed from new to started

    March 19th, 2014 @ 03:23 PM

  2. Travis Bell
    Travis Bell
    • State changed from started to resolved

    The /tv/airing_today method now supports passing in a timezone. The list of timezones can be retrieved by checking the /timezone/list method.

    A simple example, checking the list of shows that air today in Calgary:

    http://api.themoviedb.org/3/tv/airing_today?api_key=###&timezon...

    Vs. the shows that are airing today in Sydney:

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

    What this is actually doing is calculating the offset from UTC GMT, so in this case (as I'm writing this) it's the 22nd of March in Sydney.

    March 21st, 2014 @ 09:26 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.