From fdd6c3c957a975cd85b2f111878c01d4b0fcfa4a Mon Sep 17 00:00:00 2001 From: Tordarus Date: Wed, 10 Sep 2025 10:22:56 +0200 Subject: [PATCH] fixed published_date parsing --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index bddb793..5d73f8c 100644 --- a/api.go +++ b/api.go @@ -175,7 +175,7 @@ func (api *Api) getChapterEntriesByPageIndex(novelID NovelID, pageIndex int) ([] groupID := path.Base(s.Find("td:nth-child(2) a").AttrOr("href", "")) link := "https:" + td3.AttrOr("href", "") - date, err := time.Parse("01/02/2006", strings.TrimSpace(s.Find("td:first-child").Text())) + date, err := time.Parse("02/01/2006", strings.TrimSpace(s.Find("td:first-child").Text())) if err != nil { adverr.Println(ErrApiElementNotFound.Wrap(err, "td:first-child")) return