diff --git a/templates/register.html b/templates/register.html index d3ada921..dfc3bc22 100644 --- a/templates/register.html +++ b/templates/register.html @@ -138,8 +138,7 @@ header {      diff --git a/templates/saltpepper.http b/templates/saltpepper.http index 9b7a7387..16bbc279 100644 --- a/templates/saltpepper.http +++ b/templates/saltpepper.http @@ -224,7 +224,7 @@ function testLatency(cb) { function countdown() { if (timeLeft == -1) { clearTimeout(timerId); - document.getElementById("countdown").innerHTML = "
    
"; + document.getElementById("countdown").innerHTML = "
    
"; } else { // elem.innerHTML = timeLeft + " s"; timeLeft--; diff --git a/tools/time2solar.sh b/tools/time2solar.sh index 51ef5e2b..12610fed 100755 --- a/tools/time2solar.sh +++ b/tools/time2solar.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# Correct Time to give the real 20H12 time (on UTC table) at a given longitude # Input longitude in degrees (positive for East, negative for West) longitude=$1 @@ -40,4 +40,5 @@ new_time=$(date -u -d "@$new_time_seconds" +%H:%M:%S) echo "Longitude: $longitude degrees $direction" echo "Time Offset: $offset_minutes minutes" echo "Local Solar Noon (midday) Time: $local_solar_noon_time" -echo "Local Solar Noon + 8h 12mn: $new_time" +echo "Local Solar Noon + 8h 12mn: +$new_time"