Author Topic: main page weather conditions update time  (Read 937 times)

0 Members and 1 Guest are viewing this topic.

Offline metzeric

  • Contributor
  • ***
  • Posts: 110
    • www.niagaracountyweatherwire.com
main page weather conditions update time
« on: November 17, 2023, 02:27:40 PM »
I know this is minor but it drives me nuts!! On my main page where it says weather conditions updated, it updates fine but the "secs ago" no longer updates  the seconds just keep going up. I have not changed anything it just stopped working last week. Any ideas??

Thanks Eric

Weather Conditions Updated: 11/17/2023 @ 2:23:03 pm (886 sec ago)

Niagaracountyweatherwire.com
« Last Edit: November 17, 2023, 02:29:42 PM by metzeric »

Offline Vasco

  • Forecaster
  • *****
  • Posts: 343
    • PWS
Re: main page weather conditions update time
« Reply #1 on: November 17, 2023, 02:34:54 PM »
Ecowitt GW1102 (with GW2000) + Weather Display in Windows 10

Offline metzeric

  • Contributor
  • ***
  • Posts: 110
    • www.niagaracountyweatherwire.com
Re: main page weather conditions update time
« Reply #2 on: November 17, 2023, 02:44:30 PM »
Okay thanks ill watch for an answer

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9298
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: main page weather conditions update time
« Reply #3 on: November 17, 2023, 06:00:48 PM »
You're running Version 6.95b - 03-Apr-2019 of the alt-dashboard.

It had
Code: [Select]
<span class="ajax" id="ajaxntimess">&nbsp;</span>
                <script type="text/javascript"><!--
          document.write(' <small><i>(<span id="ajaxcounter">0</span>&nbsp;sec ago)</i></small>');
          //--></script>
for the counter.
The current 6.95h version has
Code: [Select]
<span class="ajax" id="ajaxntimess">&nbsp;</span>
                <small><i>(<span id="ajaxcounter">0</span>&nbsp;<?php langtrans(&#39;sec ago&#39;); ?>)</i></small>
instead.
Try changing that area and see if it fixes that issue.  Updating to the 6.95h version would also be a good idea (along with the other PHP scripts in that distribution+ajaxWDwx3.js)
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything