aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report/ReportController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-21 16:13:31 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-21 16:13:31 +1200
commitc6ce35720e315b0c28a52ef11ada67bf00642270 (patch)
tree53005ddfafa038ea8cad468a534428458a7476df /web/app/view/report/ReportController.js
parentdc76207257da485eeb4887202335c24e46d90263 (diff)
downloadtrackermap-server-c6ce35720e315b0c28a52ef11ada67bf00642270.tar.gz
trackermap-server-c6ce35720e315b0c28a52ef11ada67bf00642270.tar.bz2
trackermap-server-c6ce35720e315b0c28a52ef11ada67bf00642270.zip
Add mock position data
Diffstat (limited to 'web/app/view/report/ReportController.js')
-rw-r--r--web/app/view/report/ReportController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/report/ReportController.js b/web/app/view/report/ReportController.js
index df194c7f1..d62e87973 100644
--- a/web/app/view/report/ReportController.js
+++ b/web/app/view/report/ReportController.js
@@ -25,14 +25,14 @@ Ext.define('Traccar.view.report.ReportController', {
var fromTime = this.lookupReference('fromTimeField').getValue();
var from = new Date(
- fromDate.getFullYear(), fromDate.getMonth(), fromDate.getDay(),
+ fromDate.getFullYear(), fromDate.getMonth(), fromDate.getDate(),
fromTime.getHours(), fromTime.getMinutes(), fromTime.getSeconds(), fromTime.getMilliseconds());
var toDate = this.lookupReference('toDateField').getValue();
var toTime = this.lookupReference('toTimeField').getValue();
var to = new Date(
- toDate.getFullYear(), toDate.getMonth(), toDate.getDay(),
+ toDate.getFullYear(), toDate.getMonth(), toDate.getDate(),
toTime.getHours(), toTime.getMinutes(), toTime.getSeconds(), toTime.getMilliseconds());
var store = Ext.getStore('Positions');