user.getRecentTracks gives wrong time

  • user.getRecentTracks gives wrong time

    Can we add the timezone to the call?

    • JRoar sa...
    • Alumni
    • 16 maj 2012, 10:13
    It's always UTC

    • tburny sa...
    • Forum Moderator
    • 23 maj 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 :)
Anonyma användare kan inte skriva inlägg. Vänligen logga in eller skapa ett konto för att göra inlägg i forumen.