feat: using date only

This commit is contained in:
2025-06-07 12:26:10 +01:00
parent 509b6b8a8a
commit 2556914486

View File

@ -61,7 +61,7 @@ func getPostInfo(post string) (postInfo, error) {
case "title":
info.Title = splitLine[1]
case "date":
t, err := time.Parse(time.RFC3339, splitLine[1])
t, err := time.Parse(time.DateOnly, splitLine[1])
if err != nil {
continue
}