I need change decimal comma by decimal point values in weewx Standard
Reports.
The file, wich create from template is processing as JSON, and I get error
processing.
json_decode() uncorrect split values by comma.
in tmpl I have:
"obs":[{"timestamp":"$current.dateTime",
"air_temperature":'$current.outTemp',
"barometric_pressure":'$current.barometer',
in json file I have:
"obs":[{"timestamp":"10.11.2018 15:00:00",
"air_temperature":'1,3ТАC',
"barometric_pressure":'1014,1 mbar'
after json decode I have:
obs => { timestamp=>"10.11.2018 15:00:00",
air_temperature=>1,
3TAC=>null,
barometric_pressure=>1014,
1=> "mbar"
}
Please help!
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.