Fix uloaddate

allows you to use the function in madaraparser to fix dates, e.g. "2 hours ago", otherwise the app wouldn't display the chapters.
pull/183/head
devi 3 years ago committed by GitHub
parent f096ca2ad3
commit 939cdf71ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,8 +57,9 @@ internal abstract class Madara6Parser(
name = a.text(),
number = i + 1,
branch = null,
uploadDate = dateFormat.tryParse(
li.selectFirst(".chapter-release-date")?.text()?.trim(),
uploadDate = parseChapterDate(
dateFormat,
li.selectFirst("span.chapter-release-date i")?.text(),
),
scanlator = null,
source = source,

Loading…
Cancel
Save