summaryrefslogtreecommitdiff
path: root/tempo.js
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-28 13:47:09 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-28 13:47:09 -0800
commit1522c50e3ea420281bcc33b2bed7b4f297a4ba96 (patch)
tree5ee0bb7b26a666883f2b83ec88f489623d63231e /tempo.js
parent493fcd8f5cee5a5ed7ebee4c4b94594465da09d5 (diff)
downloadtempo-1522c50e3ea420281bcc33b2bed7b4f297a4ba96.tar.gz
tempo-1522c50e3ea420281bcc33b2bed7b4f297a4ba96.tar.xz
Improve timeformat code.
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;
}