diff --git a/internal/radio/song.go b/internal/radio/song.go index 4222030..5e3fb5c 100644 --- a/internal/radio/song.go +++ b/internal/radio/song.go @@ -22,9 +22,9 @@ func (s *Song) ArtistTitle() string { func (s *Song) DurationString() string { if s.Duration.Hours() >= 1 { - return time.UnixMilli(s.Duration.Milliseconds()).Format("15:04:05") + return time.UnixMilli(s.Duration.Milliseconds()).Format("3:4:05") } - return time.UnixMilli(s.Duration.Milliseconds()).Format("04:05") + return time.UnixMilli(s.Duration.Milliseconds()).Format("4:05") } func (s *Song) MarshalJSON() ([]byte, error) {