From d53e58a0a6fc36535c9a32794e11a3a430a949df Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Fri, 13 Dec 2019 12:09:26 -0300 Subject: [PATCH] HOT-FIX: passa offset para startTime --- sapl/templates/painel/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sapl/templates/painel/index.html b/sapl/templates/painel/index.html index bff482801..958d7df86 100644 --- a/sapl/templates/painel/index.html +++ b/sapl/templates/painel/index.html @@ -134,7 +134,7 @@ var today = moment.utc().utcOffset(offset).format("HH:mm:ss"); $("#relogio").text(today) var t = setTimeout(function(){ - startTime() + startTime(offset) }, 500); } @@ -194,6 +194,8 @@ var offset = parseFloat({{ utc_offset }}); + console.log(moment.utc().utcOffset(offset).format("HH:mm:ss")); + startTime(offset); var audioAlertFinish = document.getElementById("audio");