Hi Brian,
i need your help.
I’ve two different dates between wdisplay.ini and these functions:
$recordhighgustmonth,$recordhighgustday,$recordhighgustyear
about the same record. (wind gust speed)
The correct date is in wdisplay.ini but not in the functions.
Do you know how to fix this issue?
Thanks in advance for your support,
Alessandro
what is shown in the wdisplay.ini and and what is shown from those custom tags?
what is shown in the wdisplay.ini and and what is shown from those custom tags?
Hi Brian,
wdisplay.ini the correct date (28/09/2007) while the custom tags the incorrect date (01/03/2011).
It should be the same dates.
Thanks in advance,
Alessandro
could you post the line of info from the wdisplay.ini file?
check if there is a duplicate entry of that data in the wdisplay.ini file
also post your html code with the custom tags in use
Brian,
i’ve just cheked. No duplicate in my wdisplay.ini
post your html code with the custom tags in use
Here is my html code:
<td class="data5">
<?php echo strip_units($recordwindgust) . $uomWind; ?>
<?php echo date($dateOnlyFormat, mktime(0,0,0,$recordhighgustmonth,$recordhighgustday,$recordhighgustyear));?>
</td>
The result is in the attached image.
Regards,
Alessandro
need to see though how those php is linked to the underlying WD custom tags
there might be a mistake there you see
i.e try adding those custom tags
%recordhighgustday%, %recordhighgustmonth%, recordhighgustyear%
to a wxlocal.html file and get WD to convert that to a wx.html file
as a test
also does the dates look OK under view, all time records?
Hi Brian,
the results of the test is here: http://www.meteocarmignano.it/wx.html
It seems to be ok 
also does the dates look OK under view, all time records?
Yes, it does. It shows 28/09/2007.
What can i do now?
Kind regards,
Alessandro
the problem then is with the PHP code
its not a bug in WD