mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
apply change from review
This commit is contained in:
@@ -96,9 +96,10 @@ class Madara extends MProvider {
|
||||
if (chd != null && chd.text.isNotEmpty) {
|
||||
var dates = parseDates(
|
||||
[chd.text], source.dateFormat, source.dateFormatLocale);
|
||||
if (dates.isNotEmpty) {
|
||||
chapter.dateUpload = dates[0];
|
||||
}
|
||||
chapter.dateUpload = dates[0];
|
||||
} else {
|
||||
chapter.dateUpload =
|
||||
DateTime.now().millisecondsSinceEpoch.toString();
|
||||
}
|
||||
}
|
||||
chapters.add(chapter);
|
||||
|
||||
Reference in New Issue
Block a user