mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-15 02:15:55 -07:00
fix: ensure importers are using UTC
This commit is contained in:
parent
330f0061f0
commit
e1fcc5d5f4
3 changed files with 2 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue