From c7faaf6ff54b030b00c2356c2cdd09698d694930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 14 May 2023 17:44:08 +0200 Subject: [PATCH] Fix day parsing from ComicInfo.xml --- YACReaderLibrary/xml_info_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/xml_info_parser.cpp b/YACReaderLibrary/xml_info_parser.cpp index 017c6312..75115024 100644 --- a/YACReaderLibrary/xml_info_parser.cpp +++ b/YACReaderLibrary/xml_info_parser.cpp @@ -59,7 +59,7 @@ void consolidateDate(ComicInfo &info) auto year = info.year.isNull() ? 0 : info.year.toInt(); auto month = info.month.isNull() ? 1 : info.month.toInt(); - auto day = info.date.isNull() ? 1 : info.date.toInt(); + auto day = info.day.isNull() ? 1 : info.day.toInt(); info.date = QString("%1/%2/%3").arg(day).arg(month).arg(year); }