Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-34

Imported data's timezone information is wrong

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • import tools
    • None

      The first listen on http://listenbrainz.org/user/Mineo is currently

      Martin O'Donnell & Michael Salvatori We Remember about 2 hours ago

      but I just listened to this track to test LB-9. 2 hours is also the time difference between my local time zone (CEST) and UTC.

      The HTML on http://www.last.fm/de/user/DasMineo/library is

      <td class="chartlist-timestamp">
      <span title="Donnerstag, 17. Sep 2015, 9:07">vor 9 Minuten</span>
      </td>

      ("vor 9 Minuten" = "9 minutes ago").

      The JSON data is

      {
      "listened_at": 1442473620,
      "track_metadata": {
      "additional_info":

      { "artist_msid": "f18288f5-b17b-40c0-923d-2f29f559fd4d", "release_msid": null }

      ,
      "artist_name": "Martin O'Donnell & Michael Salvatori",
      "track_name": "We Remember"
      }
      }

            Unassigned Unassigned
            mineo Wieland Hoffmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package