mirror of
https://github.com/YACReader/yacreader
synced 2025-05-25 09:50:33 -04:00
Fix day parsing from ComicInfo.xml
This commit is contained in:
parent
e9ce6fc5af
commit
c7faaf6ff5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user