fix: ensure importers are using UTC

This commit is contained in:
Gabe Farrell 2025-06-13 03:26:11 -04:00
parent 330f0061f0
commit e1fcc5d5f4
3 changed files with 2 additions and 8 deletions

View file

@ -58,7 +58,7 @@ func ImportSpotifyFile(ctx context.Context, store db.DB, filename string) error
TrackTitle: item.TrackName,
ReleaseTitle: item.AlbumName,
Duration: dur / 1000,
Time: item.Timestamp,
Time: item.Timestamp.UTC(),
UserID: 1,
}
err = catalog.SubmitListen(ctx, store, opts)