From e4d0660074a6d3cde9306f93065f7d6513d60ae9 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 13 Jun 2012 15:17:08 +0200 Subject: [PATCH] use base 10 for parseInt --- static/js/pandora/statisticsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/statisticsDialog.js b/static/js/pandora/statisticsDialog.js index 08188b39..f9b40d27 100644 --- a/static/js/pandora/statisticsDialog.js +++ b/static/js/pandora/statisticsDialog.js @@ -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;