2
0

Compare commits

..

No commits in common. "fccaf9fcbec23b25d98b4840f931ae6c8f9126f5" and "02fad2dd4400cd04f87b58812d9482b4a0d50b58" have entirely different histories.

View File

@ -131,9 +131,9 @@ public class Manganato : MangaConnector
string pattern = "MMM dd,yyyy HH:mm";
HtmlNode oldestChapter = document.DocumentNode
.SelectNodes("//span[contains(concat(' ',normalize-space(@class),' '),' chapter-time ')]").MaxBy(
.SelectNodes("//chapter-time[contains(concat(' ',normalize-space(@class),' '),' chapter-time ')]").MaxBy(
node => DateTime.ParseExact(node.GetAttributeValue("title", "Dec 31 2400, 23:59"), pattern,
CultureInfo.InvariantCulture).Millisecond)!;
CultureInfo.InvariantCulture))!;
int year = DateTime.ParseExact(oldestChapter.GetAttributeValue("title", "Dec 31 2400, 23:59"), pattern,