The variables are created in WCT-defs.php by # generate the separate date/time variables by dissection of input date/time and format
list($date_year,$date_month,$date_day,$time_hour,$time_minute,$monthname,$dayname)
= WCT_setDateTimes($date,$time,true);
With $date, $time set by $time = $WX['t12'];
$date = $WX['de'];
earlier in the same script.
The values from WCTtags.php?sce=dump shows $WX['t12'] = '09:18 PM'; // Time (12 hour clock)
$WX['de'] = '24/05/15'; // Date in the format of day/month/year
so the WCT_setDateTimes() function should be expecting the date in dd/mm/yy format.
In your Settings.php you have $SITE['WDdateMDY'] = false; // for weather software date format of month/day/year. =false for day/month/year
which means the date is expected in dd/mm/yy format.
The problem seems to be in your copy of WCT-defs.php
list($date_year,$date_month,$date_day,$time_hour,$time_minute,$monthname,$dayname)
= WCT_setDateTimes($date,$time,true);
Change that to
list($date_year,$date_month,$date_day,$time_hour,$time_minute,$monthname,$dayname)
= WCT_setDateTimes($date,$time,$SITE['WDdateMDY']);
and that should fix the 1970/etc. issue.
Best regards,
Ken