mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-16 19:05:54 -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
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue