use utc time for dates

This commit is contained in:
j 2015-10-31 14:49:15 +01:00
parent eb472b88ae
commit d96f98e4cf

View file

@ -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(', ');