summaryrefslogtreecommitdiff
path: root/tempo.js
diff options
context:
space:
mode:
Diffstat (limited to 'tempo.js')
-rw-r--r--tempo.js2
1 files changed, 1 insertions, 1 deletions
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;
}