diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-15 03:07:28 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-15 03:10:38 -0700 |
commit | 566ea4b8b6a5c9f16cbeb280c73df836fee741fe (patch) | |
tree | fdee30370b87962c810db9ab6884e042c1b9eed0 /tempo.js | |
parent | a82a5ed69075d1069d3bbe64db5a162906062611 (diff) | |
download | tempo-566ea4b8b6a5c9f16cbeb280c73df836fee741fe.tar.gz tempo-566ea4b8b6a5c9f16cbeb280c73df836fee741fe.tar.xz |
appease the mozilla robot
Diffstat (limited to 'tempo.js')
-rw-r--r-- | tempo.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -20,12 +20,12 @@ function updateTime() { if (timefmt == 12) // default to 24 h = (h + 11) % 12 + 1; - let str_t = padTime(h) + ' ' + padTime(m) + - '  ' + padTime(s); + let str_t = padTime(h) + '\u00A0\u00A0' + padTime(m) + + '\u00A0\u00A0' + padTime(s); let str_d = dd + ' ' + months[dm] + ' ' + dy; - document.getElementById('timeval').innerHTML = str_t; - document.getElementById('dateval').innerHTML = str_d; + document.getElementById('timeval').textContent = str_t; + document.getElementById('dateval').textContent = str_d; } function startTempo() { |