diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2012-11-11 15:18:23 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-13 16:50:21 +0100 |
commit | fe62fdd47f76b19b90e1b5a246cc8a90185016e3 (patch) | |
tree | d77556c03cdd19ccd3c34e487e5847f1dccc822b /examples | |
parent | 3937c37638b6e51add4a9ad24ff894a22d0405d4 (diff) |
Fix StocQt example - need full 4-digit years for yahoo API
Change-Id: Id5f6895c3e4c901af3e4e45ca8a1474c9fdb19d9
Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/demos/stocqt/content/StockModel.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/demos/stocqt/content/StockModel.qml b/examples/demos/stocqt/content/StockModel.qml index ee58e044c2..b5a78548e4 100644 --- a/examples/demos/stocqt/content/StockModel.qml +++ b/examples/demos/stocqt/content/StockModel.qml @@ -96,10 +96,10 @@ ListModel { request += "s=" + stockId; request += "&a=" + startDate.getDate(); request += "&b=" + startDate.getMonth(); - request += "&c=" + startDate.getYear(); + request += "&c=" + startDate.getFullYear(); request += "&d=" + endDate.getDate(); request += "&e=" + endDate.getMonth(); - request += "&f=" + endDate.getYear(); + request += "&f=" + endDate.getFullYear(); request += "&g=" + stockDataCycle; request += "&ignore=.csv"; return request; |