From fe62fdd47f76b19b90e1b5a246cc8a90185016e3 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Sun, 11 Nov 2012 15:18:23 +0100 Subject: [PATCH] Fix StocQt example - need full 4-digit years for yahoo API Change-Id: Id5f6895c3e4c901af3e4e45ca8a1474c9fdb19d9 Reviewed-by: Alan Alpert (RIM) --- examples/demos/stocqt/content/StockModel.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/demos/stocqt/content/StockModel.qml b/examples/demos/stocqt/content/StockModel.qml index ee58e04..b5a7854 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; -- 2.7.4