aboutsummaryrefslogtreecommitdiff
path: root/internal/liturgy/store.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 10:32:28 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 10:32:28 +0200
commitc9f3bf46f0de09edb796e35f3dcff349febf75c9 (patch)
treec1a0b98b484e4da557c1ab205dfff0d92ce8ac36 /internal/liturgy/store.go
parenta865374755480a4aef2a6156afccdf08a91422ea (diff)
downloadlectio-c9f3bf46f0de09edb796e35f3dcff349febf75c9.tar.gz
lectio-c9f3bf46f0de09edb796e35f3dcff349febf75c9.zip
dayinfo: show feast/day name + colour (modern niedziela + traditional missalemeum) in cli/tui/web; v0.5.0
Diffstat (limited to 'internal/liturgy/store.go')
-rw-r--r--internal/liturgy/store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/liturgy/store.go b/internal/liturgy/store.go
index 69e45f2..5bf7ef0 100644
--- a/internal/liturgy/store.go
+++ b/internal/liturgy/store.go
@@ -170,7 +170,7 @@ func Harvest(fromDate string, maxDays int) (added int, furthest string, err erro
if publishedRe.MatchString(page) {
if mkErr := os.MkdirAll(dir, 0o755); mkErr == nil {
_ = os.WriteFile(filepath.Join(dir, dateStr+".html"), []byte(page), 0o644)
- writeJSONCache(filepath.Join(dir, dateStr+".json"), secs)
+ writeCache(filepath.Join(dir, dateStr+".json"), secs, ParseDayInfo(page))
}
}