user.getRecentTracks gives wrong time

  • user.getRecentTracks gives wrong time

    Can we add the timezone to the call?

    • JRoar said...
    • Alumni
    • 16 May 2012, 10:13
    It's always UTC

    • tburny said...
    • Forum Moderator
    • 23 May 2012, 17:16
    turncoat9, the problem is that in different areas and countries over the world there are different laws regarding the daylight saving time.
    So, for making API calls, one needs a standartised timestamp format, which is Unix time/UTC like JRoar said.

    You can convert the dates from/to your local timezone. Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
Anonymous users may not post messages. Please log in or create an account to post in the forums.