use base 10 for parseInt

This commit is contained in:
j 2012-06-13 15:17:08 +02:00
parent e72a9675c7
commit e4d0660074

View file

@ -289,7 +289,7 @@ pandora.ui.statisticsDialog = function() {
+ ' ' + split[0];
} else {
ret = key == 'day'
? Ox.WEEKDAYS[parseInt(value) - 1]
? Ox.WEEKDAYS[parseInt(value, 10) - 1]
: value + ':00';
}
return ret;