diff options
Diffstat (limited to 'web/app/view/Report.js')
-rw-r--r-- | web/app/view/Report.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web/app/view/Report.js b/web/app/view/Report.js index 73ba6e12b..b930dd3b0 100644 --- a/web/app/view/Report.js +++ b/web/app/view/Report.js @@ -46,13 +46,13 @@ }, { xtype: 'datefield', reference: 'fromDateField', - startDay: styles.weekStartDay, + startDay: Traccar.Style.weekStartDay, value: new Date(new Date().getTime() - 30 * 60 * 1000) }, { xtype: 'timefield', reference: 'fromTimeField', - maxWidth: styles.reportTime, - format: styles.timeFormat, + maxWidth: Traccar.Style.reportTime, + format: Traccar.Style.timeFormat, value: new Date(new Date().getTime() - 30 * 60 * 1000) }, '-', { xtype: 'tbtext', @@ -60,13 +60,13 @@ }, { xtype: 'datefield', reference: 'toDateField', - startDay: styles.weekStartDay, + startDay: Traccar.Style.weekStartDay, value: new Date() }, { xtype: 'timefield', reference: 'toTimeField', - maxWidth: styles.reportTime, - format: styles.timeFormat, + maxWidth: Traccar.Style.reportTime, + format: Traccar.Style.timeFormat, value: new Date() }, '-', { text: strings.reportShow, |