WxSim Temperature Forecast Comparison Script

Greetings!

It’s very likely that I’m using an ancient version of Jim’s brilliant FART script but I noticed today that I have some errors building up in my log :-

[19-Jun-2017 09:55:28 Europe/London] PHP Warning: date() expects parameter 2 to be long, string given in /home/ruralter/public_html/leavening.org/wxsim/forecast-compare-include.php on line 926

Line 926 contains this :-
echo ‘>’ . date($FCdatestr,$entry[0]) . ‘’ . “\n”;

My ability in php is very limited and I can’t see what’s causing this. I am assuming its something blindly obvious to anyone who knows what they’re talking about.

Any ideas ?

Many thanks & kind regards from the UK which is pushing 30C for a change, hotter than Barbados yesterday apparently :wink:

The script lives here :- http://www.leavening.org/wxsim/fartindex.php

I also see that the Nordic comparison always has high and low as the same temperature. Which makes WXSim always win :wink:

Simon.