forked from 0x2620/pandora
use utc time for dates
This commit is contained in:
parent
eb472b88ae
commit
d96f98e4cf
1 changed files with 2 additions and 1 deletions
|
@ -593,7 +593,8 @@ pandora.ui.infoView = function(data) {
|
||||||
var ret;
|
var ret;
|
||||||
if (key == 'date') {
|
if (key == 'date') {
|
||||||
ret = value ? Ox.formatDate(value,
|
ret = value ? Ox.formatDate(value,
|
||||||
['', '%Y', '%B %Y', '%B %e, %Y'][value.split('-').length]
|
['', '%Y', '%B %Y', '%B %e, %Y'][value.split('-').length],
|
||||||
|
true
|
||||||
) : '';
|
) : '';
|
||||||
} else if (listKeys.indexOf(key) > -1) {
|
} else if (listKeys.indexOf(key) > -1) {
|
||||||
ret = value.split(', ');
|
ret = value.split(', ');
|
||||||
|
|
Loading…
Reference in a new issue