I have a question about gen-CUtags.php
is there some way to usead not have the format be part of the tag name
Code: Select all
wvar <#MonthMaxTempLD format="'at' T 'on' G"> Date of This months lowest daily minimum temperature
Moderator: saratogaWX
Code: Select all
wvar <#MonthMaxTempLD format="'at' T 'on' G"> Date of This months lowest daily minimum temperature
Code: Select all
wvar <#MonthMinTempHD format="'at' h:mm tt 'on' dd MMMM yyyy"> Date of This months highest daily minimum temperature
Code: Select all
$WX['MonthMaxTempLD format="'at' h:mm tt 'on' dd MMMM yyyy"']
Code: Select all
$WX['MonthMaxTempLD'] = 'at 11:13 PM on 03 April 2015';
Code: Select all
$varname = "<#$ourname>";
Code: Select all
$varname = "<#$ourname>";
$varray = explode(" ",$ourname);
if(isset($varray[1])) {$ourname = $varray[0];]
Code: Select all
MonthMinTempHD|<#MonthMinTempHD format="'at' h:mm tt 'on' dd MMMM yyyy">|//Date of This months highest daily minimum temperature
Code: Select all
$varname = "<#$ourname>";
$varray = explode(" ",$ourname);
if(isset($varray[1])) {$ourname = $varray[0];]