user.getRecentTracks gives wrong time

    • turncoat9 a dit :...
    • Utilisateur
    • 16 mai 2012, 8h23m

    user.getRecentTracks gives wrong time

    Can we add the timezone to the call?

    • JRoar a dit :...
    • Alumni
    • 16 mai 2012, 10h13m
    It's always UTC

    • tburny a dit :...
    • Forum Moderator
    • 23 mai 2012, 17h16m
    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 :)
Les utilisateurs anonymes ne peuvent pas poster de messages. Merci de vous connecter ou de créer un compte pour pouvoir intervenir dans les forums.