summaryrefslogtreecommitdiff
path: root/tempo.js
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-24 01:03:48 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-02-24 01:03:48 -0800
commit098c862fb2e641be19a05e69364f9612b6069a3a (patch)
tree0cf612120105d76561fa9c6c75244bef4c790b58 /tempo.js
parente61733e9b92758e807a6587e906cdce477307ca3 (diff)
downloadtempo-098c862fb2e641be19a05e69364f9612b6069a3a.tar.gz
tempo-098c862fb2e641be19a05e69364f9612b6069a3a.tar.xz
Aesthetical improvements.
Diffstat (limited to 'tempo.js')
-rw-r--r--tempo.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/tempo.js b/tempo.js
index 04c1071..2323d3f 100644
--- a/tempo.js
+++ b/tempo.js
@@ -19,10 +19,11 @@ function updateTime() {
var dm = date.getMonth();
var dy = date.getFullYear();
- var str_t = padTime(h) + ":" + padTime(m) + ":" + padTime(s);
var str_d = dd + " " + months[dm] + " " + dy;
- document.getElementById("timeval").innerHTML = str_t;
+ document.getElementById("h").innerHTML = padTime(h);
+ document.getElementById("m").innerHTML = padTime(m);
+ document.getElementById("s").innerHTML = padTime(s);
document.getElementById("dateval").innerHTML = str_d;
}