#147 removed console logs

This commit is contained in:
Serraniel 2020-12-28 17:19:18 +01:00
parent 7e3db5f8d5
commit a1745d7c65
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -146,10 +146,6 @@ function tryUpdateTime(node) {
datetime = datetime.goto(spacetime().tz);
let replaceText = datetime.format(getSpaceTimeFormat(use24Format));
console.log(node.textContent);
console.log(processedStr);
console.log(replaceText);
console.log('----------')
node.textContent = node.textContent.replace(hit, replaceText);
});
@ -160,7 +156,6 @@ function tryUpdateTimeZone(node) {
const HINT_UTC = 'UTC+1';
if (node.textContent === HINT_UTC) {
let tzMeta = spacetime().timezone();
console.log(tzMeta);
node.textContent = `${tzMeta.name} (UTC${tzMeta.current.offset >= 0 ? '+' : ''}${tzMeta.current.offset})`;
}