forked from 0x2620/pandora
fix date formating in users dialog, fixes #673
This commit is contained in:
parent
4f8d295099
commit
8b63ef87a1
1 changed files with 2 additions and 3 deletions
|
@ -270,9 +270,8 @@ pandora.ui.usersDialog = function() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'right',
|
align: 'right',
|
||||||
// fixme: there should be a better option for dates
|
|
||||||
format: function(value) {
|
format: function(value) {
|
||||||
return value.replace(/[TZ]/g, ' ')
|
return Ox.formatDate(value, "%Y-%m-%d %H:%M:%S");
|
||||||
},
|
},
|
||||||
id: 'firstseen',
|
id: 'firstseen',
|
||||||
operator: '-',
|
operator: '-',
|
||||||
|
@ -283,7 +282,7 @@ pandora.ui.usersDialog = function() {
|
||||||
{
|
{
|
||||||
align: 'right',
|
align: 'right',
|
||||||
format: function(value) {
|
format: function(value) {
|
||||||
return value.replace(/[TZ]/g, ' ')
|
return Ox.formatDate(value, "%Y-%m-%d %H:%M:%S");
|
||||||
},
|
},
|
||||||
id: 'lastseen',
|
id: 'lastseen',
|
||||||
operator: '-',
|
operator: '-',
|
||||||
|
|
Loading…
Reference in a new issue