fix date
This commit is contained in:
parent
c6638cef13
commit
eb78fe5fc1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue