| Summary: | Weboob / Boobank date condition | ||
|---|---|---|---|
| Product: | [Applications] skrooge | Reporter: | Guillaume Stamm <guillaume.stamm> |
| Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | stephane |
| Priority: | NOR | ||
| Version First Reported In: | 2.9.0 | ||
| Target Milestone: | 25.1.0 | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Guillaume Stamm
2017-09-13 12:24:43 UTC
I found this part of code: skgimportpluginbackend.cpp
if (currentList != lastList || !lastDownload.isValid()) {
nbToDownload = 99999;
fromDate = QStringLiteral("2000-01-01");
} else {
nbToDownload = qMax(lastDownload.daysTo(QDate::currentDate()) * 10, qint64(20));
fromDate = SKGServices::dateToSqlString(lastDownload.addDays(-4));
}
but I do not know why I am not in the second case, using "lastDownload"
This date comparison was done for download optimization. Exactly as you want. I recently discovered that this didn't work as expected. I did a correction with this commit: https://cgit.kde.org/skrooge.git/commit/?id=ad57802dc55e237e2585fcac4f042b4aca9cbbb5 So, this should work correctly on next version (2.10.0) or with the git version. So, I close this incident. |