This conversion to UTC is excessive.
This commit is contained in:
parent
790a507f0d
commit
0983a0f0c5
@ -113,7 +113,7 @@ func lastPlayedSongs(lastNSongs int, playlistPath string) ([]Song, error) {
|
||||
tim, _ := time.Parse("02/Jan/2006:15:04:05 -0700", ts[0])
|
||||
at := strings.Split(ts[1], " - ")
|
||||
songs = append(songs, Song{
|
||||
Time: tim.UTC().Format("15:04-0700"),
|
||||
Time: tim.Format("15:04-0700"),
|
||||
Artist: at[0],
|
||||
Title: at[1]})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user