From 5e581dbaedb5d89d47953db4b1e0db0c6c76ceb4 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 8 Oct 2023 18:38:58 +0200 Subject: [PATCH] check for bug for xastro G1BILLET - creating 6 Notes - --- templates/register.html | 3 +-- templates/saltpepper.http | 2 +- tools/time2solar.sh | 5 +++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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"