about summary refs log tree commit diff stats
path: root/searchix.go
diff options
context:
space:
mode:
Diffstat (limited to 'searchix.go')
-rw-r--r--searchix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchix.go b/searchix.go
index 605db55..26c8148 100644
--- a/searchix.go
+++ b/searchix.go
@@ -184,7 +184,7 @@ func main() {
 				Timezone:      time.Local.String(),
 			}
 
-			nextRun := nextOccurrenceOfLocalTime(cfg.Importer.UpdateAt)
+			nextRun := nextOccurrenceOfLocalTime(cfg.Importer.UpdateAt.LocalTime)
 			for {
 				slog.Debug("scheduling next run", "next-run", nextRun)
 				<-time.After(time.Until(nextRun))