aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app/view/Users.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/web/app/view/Users.js b/web/app/view/Users.js
index ba594c46..4259c4c1 100644
--- a/web/app/view/Users.js
+++ b/web/app/view/Users.js
@@ -88,13 +88,7 @@ Ext.define('Traccar.view.Users', {
text: Strings.userExpirationTime,
dataIndex: 'expirationTime',
hidden: true,
- renderer: function (value) {
- if (Traccar.app.getPreference('twelveHourFormat', false)) {
- return Ext.Date.format(value, Traccar.Style.dateTimeFormat12);
- } else {
- return Ext.Date.format(value, Traccar.Style.dateTimeFormat24);
- }
- }
+ renderer: Traccar.AttributeFormatter.getFormatter('expirationTime')
}]
}
});