0.1.52 Gateway
This commit is contained in:
@@ -1055,10 +1055,7 @@ func (s *Server) heroPremiereCandidates(ctx context.Context, now time.Time) []he
|
||||
if s.sonarr == nil || s.store == nil {
|
||||
return nil
|
||||
}
|
||||
location := s.cfg.SonarrLocation
|
||||
if location == nil {
|
||||
location = time.Local
|
||||
}
|
||||
location := s.householdLocation()
|
||||
dayStart := localDayStart(now.In(location), location)
|
||||
key := heroPremiereCachePrefix + dayStart.Format("2006-01-02")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user