Page 1 of 1

WB2 template WeatherbyYou

Posted: Sun 05 Jun 2016 7:17 am
by iw2lao
hello,
I'm running now with MX on a RaspberryPi, great, very good job!
for my website I use a WeatherbyYou template (WeatherBlues2), most of .php data pages works pretty well excepted these 2 ones:

1) all time records (records.php):
date&time formats are all displayed wrongly, see the url http://meteoesine.altervista.org/records.php

2) thismonth high and low (thismonth.php)
date&time format are wrongly displayed only on "Lowest windchill temperature", see the url http://meteoesine.altervista.org/thismonth.php

can you pls check and advise if it is a MX bug or it is something else I can manage myself wih some settings?

thanks in advance for your support
Norbert

Re: WB2 template WeatherbyYou

Posted: Sun 05 Jun 2016 7:37 am
by steve
It looks like you are using date and time format strings from Cumulus 1. See the table in the MX announcement for the differences with MX.

Re: WB2 template WeatherbyYou

Posted: Sun 05 Jun 2016 9:27 am
by iw2lao
it sounds good, but what can I do to solve this matter?
the strange thing is that on other fields data&time format appears correctly

for example "Lowest windchill temperature date and time ($MonthDewPointLF)" is the only one wrong
what is wrong on this command?
<?php echo '<td>'.$Tr_MonthDewPointL.'</td><td>'.$MonthDewPointL.' '.$tempunit.'</td><td>'.$MonthDewPointLF.'</td>'; ?>

thanks in advance to suggest how can I fix this matter, if possible

Re: WB2 template WeatherbyYou

Posted: Sun 05 Jun 2016 9:36 am
by steve
I can't tell you what is wrong with that (probably nothing) as that is nothing to do with Cumulus - those aren't web tags. If it is a problem with the date/time format strings on the web tags, then it will be in the file which is supplied to Cumulus to process which actually contains web tags, and creates those PHP variables.

I am sure that others will have encountered this issue, and they are presumably using an updated version of a file (or files) which has (or have) the correct web tag parameters in it (or them) for MX. The 'Weather by You' section of this forum, or the 'Weather by You' forum would perhaps be better places to look for a solution.

Re: WB2 template WeatherbyYou

Posted: Sun 05 Jun 2016 9:40 am
by steve
I had a quick look at the Weather by You section of the forum, and on the first page of topics, seven topics down, is a topic entitled "Using with CumulusMX". In that thread, someone has kindly posted updated files which use the correct date and time format strings for MX.

Re: WB2 template WeatherbyYou

Posted: Sun 05 Jun 2016 11:59 am
by iw2lao
Solved, topic already treated
thanks for your support