From e88fe268f15475d3f28bc76dbf2902a6b5b9c854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Fri, 25 Oct 2024 09:46:19 +0200 Subject: [PATCH] Fixes date regexp for the update --- utils/markdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/markdown.go b/utils/markdown.go index d557bad..4e048c8 100644 --- a/utils/markdown.go +++ b/utils/markdown.go @@ -99,7 +99,7 @@ func SaveUpdatedMarkdown(filepath string, frontmatter FrontMatter, content strin fieldPatterns := map[string]string{ "progress": `(?m)^progress: (.*)%$`, "episode": `(?m)^episode: "(.*)"$`, - "date": `(?m)^date: "(.*)"$`, + "date": `(?m)^date: (.*)$`, "rate": `(?m)^rate: (\d+\.?\d*)$`, }