summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 6754e8f933..135e5100d4 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -1071,7 +1071,7 @@ void RbUtilQt::downloadManual(void)
manual = "rockbox-"
+ SystemInfo::value(SystemInfo::CurBuildserverModel).toString();
- QString date = ServerInfo::value(ServerInfo::DailyDate).toString();
+ QDate date = QDate::fromString(ServerInfo::value(ServerInfo::DailyDate).toString(),Qt::ISODate);
QString manualurl;
QString target;
@@ -1081,7 +1081,7 @@ void RbUtilQt::downloadManual(void)
section = "Manual (PDF)";
}
else {
- target = "/" + manual + "-" + date + "-html.zip";
+ target = "/" + manual + "-" + date.toString("yyyyMMdd") + "-html.zip";
section = "Manual (HTML)";
}
manualurl = SystemInfo::value(SystemInfo::ManualUrl).toString() + "/" + target;
@@ -1094,7 +1094,7 @@ void RbUtilQt::downloadManual(void)
if(!RbSettings::value(RbSettings::CacheDisabled).toBool())
installer->setCache(true);
installer->setLogSection(section);
- installer->setLogVersion(date);
+ installer->setLogVersion(ServerInfo::value(ServerInfo::DailyDate).toString());
installer->setUrl(manualurl);
installer->setUnzip(false);
installer->setTarget(target);