From 1522c50e3ea420281bcc33b2bed7b4f297a4ba96 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 28 Feb 2014 13:47:09 -0800 Subject: Improve timeformat code. --- tempo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tempo.js') diff --git a/tempo.js b/tempo.js index 7117884..aafb078 100644 --- a/tempo.js +++ b/tempo.js @@ -26,7 +26,7 @@ function updateTime() { var dm = date.getMonth(); var dy = date.getFullYear(); - if(timeformat == '12') { + if(timeformat == 12) { h = (h + 11) % 12 + 1; } -- cgit v1.2.3-70-g09d2