diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-20 19:08:17 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-05-20 19:08:17 +1200 |
commit | e9b61549ee85644facd20ebb0ec673d641b23a1d (patch) | |
tree | 25bd71a45a1167b633717d78de2a1f0d4d8a7758 /web/app/view/report/ReportController.js | |
parent | 1f9a3c81b5ddd6218e2c6b62fe0478ba147ca6e0 (diff) | |
download | traccar-server-e9b61549ee85644facd20ebb0ec673d641b23a1d.tar.gz traccar-server-e9b61549ee85644facd20ebb0ec673d641b23a1d.tar.bz2 traccar-server-e9b61549ee85644facd20ebb0ec673d641b23a1d.zip |
Finish implementing grid report
Diffstat (limited to 'web/app/view/report/ReportController.js')
-rw-r--r-- | web/app/view/report/ReportController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/report/ReportController.js b/web/app/view/report/ReportController.js index 48cfda74f..5c6578681 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.getYear(), fromDate.getMonth(), fromDate.getDay(), + fromDate.getFullYear(), fromDate.getMonth(), fromDate.getDay(), 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.getYear(), toDate.getMonth(), toDate.getDay(), + toDate.getFullYear(), toDate.getMonth(), toDate.getDay(), toTime.getHours(), toTime.getMinutes(), toTime.getSeconds(), toTime.getMilliseconds()); var store = Ext.getStore('Positions'); |