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

@ -88,7 +88,7 @@ func ImportLastFMFile(ctx context.Context, store db.DB, mbzc mbz.MusicBrainzCall
if err != nil {
ts, err = time.Parse("02 Jan 2006, 15:04", track.Date.Text)
if err != nil {
ts = time.Now()
ts = time.Now().UTC()
}
} else {
ts = time.Unix(unix, 0).UTC()