diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-20 08:36:25 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-20 08:36:25 +0500 |
commit | 8c64bc43d6ee686a6e297aa876b659ac0a6c4775 (patch) | |
tree | 70287a5225ca7afc7a5ec85ffc723c868dfb6223 /web/app | |
parent | db73507fe57ed39a79e8786c655c47f10bb20236 (diff) | |
download | trackermap-web-8c64bc43d6ee686a6e297aa876b659ac0a6c4775.tar.gz trackermap-web-8c64bc43d6ee686a6e297aa876b659ac0a6c4775.tar.bz2 trackermap-web-8c64bc43d6ee686a6e297aa876b659ac0a6c4775.zip |
Use default renderer
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/view/Users.js | 8 |
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') }] } }); |