summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2010-02-18 19:47:09 +0000
committerDominik Wenger <domonoky@googlemail.com>2010-02-18 19:47:09 +0000
commit963fdc340b5a73d96edbf0684ed4992ca7fc4328 (patch)
tree64d21d1a1339817cd7f1b2aefed7addd31c767f8 /rbutil
parent4c78ecaa5ea6b8693b424d14fa973e999f37b042 (diff)
rbutil: fix voice downloads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24758 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index f5ff47d539..a721183fbd 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -881,9 +881,9 @@ void RbUtilQt::installVoice()
installer = new ZipInstaller(this);
QString voiceurl = SystemInfo::value(SystemInfo::VoiceUrl).toString();
-
+ QDate date = QDate::fromString(ServerInfo::value(ServerInfo::DailyDate).toString(),Qt::ISODate);
voiceurl += SystemInfo::value(SystemInfo::CurBuildserverModel).toString() + "-" +
- ServerInfo::value(ServerInfo::DailyDate).toString() + "-english.zip";
+ date.toString("yyyyMMdd") + "-english.zip";
qDebug() << "[RbUtil] voicefile URL:" << voiceurl;
installer->setUrl(voiceurl);