diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-24 01:03:48 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2014-02-24 01:03:48 -0800 |
commit | 098c862fb2e641be19a05e69364f9612b6069a3a (patch) | |
tree | 0cf612120105d76561fa9c6c75244bef4c790b58 /tempo.js | |
parent | e61733e9b92758e807a6587e906cdce477307ca3 (diff) | |
download | tempo-098c862fb2e641be19a05e69364f9612b6069a3a.tar.gz tempo-098c862fb2e641be19a05e69364f9612b6069a3a.tar.xz |
Aesthetical improvements.
Diffstat (limited to 'tempo.js')
-rw-r--r-- | tempo.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; } |