use base 10 for parseInt
This commit is contained in:
parent
e72a9675c7
commit
e4d0660074
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ pandora.ui.statisticsDialog = function() {
|
||||||
+ ' ' + split[0];
|
+ ' ' + split[0];
|
||||||
} else {
|
} else {
|
||||||
ret = key == 'day'
|
ret = key == 'day'
|
||||||
? Ox.WEEKDAYS[parseInt(value) - 1]
|
? Ox.WEEKDAYS[parseInt(value, 10) - 1]
|
||||||
: value + ':00';
|
: value + ':00';
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue