diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-28 13:47:09 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-28 13:47:09 -0800 |
commit | 1522c50e3ea420281bcc33b2bed7b4f297a4ba96 (patch) | |
tree | 5ee0bb7b26a666883f2b83ec88f489623d63231e /tempo.js | |
parent | 493fcd8f5cee5a5ed7ebee4c4b94594465da09d5 (diff) | |
download | tempo-1522c50e3ea420281bcc33b2bed7b4f297a4ba96.tar.gz tempo-1522c50e3ea420281bcc33b2bed7b4f297a4ba96.tar.xz |
Improve timeformat code.
Diffstat (limited to 'tempo.js')
-rw-r--r-- | tempo.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |