Author Topic: wxtrends.php  (Read 1077 times)

0 Members and 1 Guest are viewing this topic.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 439
    • Penn Lake Weather
wxtrends.php
« on: January 23, 2018, 07:14:04 AM »
Pennlake.us

I never had this message before, any Ideas?

Trends as of 01/23/2018 at 7:10:23 am
( Note: Only the 'Current' values may be updated in near-realtime, while the other values are current when the page is loaded. The other data was from 23-Jan-2018 7:05am. Reload this page for updated data.)

Reloading the page only changes the "values" to the time stamp above?

Thanks for any help,

yamiacaveman

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 439
    • Penn Lake Weather
Re: wxtrends.php
« Reply #1 on: January 23, 2018, 09:19:10 AM »
Ok so I found this code in the WD-trends-inc.php

<p>(<small>
<?php langtrans('Note: Only the \'Current\' values may be updated in near-realtime, while the other values are current when the page is loaded.'); ?>
<?php langtrans('The other data was from ');
 echo '<strong>'.adjustWDdate($date). " " . adjustWDtime($time)."</strong>.  ";
 langtrans('Reload this page for updated data');
  ?>.)</small></p>

Am I just missing the point of this statement. Is it necessary?

Offline hymrog

  • Senior Member
  • **
  • Posts: 52
    • Gahanna Weather
Re: wxtrends.php
« Reply #2 on: January 23, 2018, 12:41:02 PM »
Hello -

The statement was included with the updated version of the WD-trends-inc.php. Release Notes: Version 3.235 - 30-Sep-2017 (WD-plugin) updated WD-trends-inc.php V1.07 to add Dew Point trends and note about data currency

The same changes were also included for the MB-trends-inc.php script as well.

I think it would be up to you if the statement regarding the currency of the data is relevant to your website.

g
« Last Edit: January 23, 2018, 06:24:58 PM by hymrog »

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 439
    • Penn Lake Weather
Re: wxtrends.php
« Reply #3 on: January 23, 2018, 09:54:10 PM »
Thanks for clearing that up!!