Page 1 of 1

error in yesterday's temperatures

Posted: Mon 15 Mar 2021 1:27 pm
by josebp
Hi, I have changed the ajax-dashboard.php to Version 1.30 - 14-May-2020.
I must have made a mistake and I can't get the decimals in yesterday's temperatures.
No idea where I went wrong.
Thanks, and sorry for any inconvenience.
Greetings,
Jose Ramon
www.tiempoensevilla.es
------------------------------
Hola, he cambiado el ajax-dashboard.php a la Version 1.30 - 14-May-2020.
Me he debido de equivocar y no me salen los decimales en las temperaturas de ayer.
Ni idea dónde me he equivocado.
Gracias y perdonar las molestias.
Saludos,
José Ramón

Re: error in yesterday's temperatures

Posted: Mon 15 Mar 2021 9:35 pm
by ConligWX
in that file look for:

Code: Select all

$decimalComma = false;  // set to true to process numbers with a comma for a decimal point
change to:

Code: Select all

$decimalComma = true;  // set to true to process numbers with a comma for a decimal point
I am guessing since it looks like your CUtags.php contains a "," (comma) as the decimal point.

see if that helps

Re: error in yesterday's temperatures

Posted: Wed 17 Mar 2021 6:07 pm
by josebp
Thanks ConlinWX but I don't think that's it since it only fails in yesterday's temperatures.
I have returned to the previous dashboard and I no longer have that problem.
Ken will have the solution, he is the boss
Thanks.
Regards,
Jose Ramon

Re: error in yesterday's temperatures

Posted: Wed 17 Mar 2021 6:25 pm
by beteljuice
Seems to be fixed ??

Re: error in yesterday's temperatures

Posted: Sun 21 Mar 2021 7:12 pm
by josebp
No Beteljuice, I went back to the previous version
Thanks.
Regards,
Jose Ramon