diff options
author | Alan Pearce | 2024-05-20 18:25:25 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-20 18:25:25 +0200 |
commit | 202317df1dba891654bf749c3720fbd602df04ff (patch) | |
tree | c536ace4120e62602a142959a85e92d61317a1c2 /searchix.go | |
parent | 0f5508013d776f8806a87957f80e74c7f74c72eb (diff) | |
download | searchix-202317df1dba891654bf749c3720fbd602df04ff.tar.lz searchix-202317df1dba891654bf749c3720fbd602df04ff.tar.zst searchix-202317df1dba891654bf749c3720fbd602df04ff.zip |
fix: nix cannot read date/time TOML values from default config
Diffstat (limited to 'searchix.go')
-rw-r--r-- | searchix.go | 2 |
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)) |