This commit is contained in:
j 2017-06-06 16:19:42 +02:00
parent c6638cef13
commit eb78fe5fc1

View file

@ -593,7 +593,7 @@ pandora.ui.infoView = function(data) {
function formatValue(key, value) {
var ret;
if (key == 'date' && (!value || value.split('-') < 4)) {
if (key == 'date' && (!value || value.split('-').length < 4)) {
ret = value ? Ox.formatDate(value,
['', '%Y', '%B %Y', '%B %e, %Y'][value.split('-').length],
true