Page 1 of 1

Date Format

Posted: Fri 22 Jan 2021 1:24 pm
by The Dalek Hunter
Hi

I hope it is ok to ask this question here?

I am running the SteelSeries Gauges on one of my other websites here - https://wx-watch.co.uk/weathercat/custom/steel/ powered by WeatherCat.

Because I have a custom WeatherCat website I have disabled the popup graphs by adding

config.showPopupGraphs = false; at line 280 of the graphs.js file

All works perfectly - however if you hover over the Rainfall Gauge I get the date in the format YYYY-MM-DD

Is it possible to change this to DD-MM-YYYY

Mant thanks

Re: Date Format

Posted: Fri 22 Jan 2021 10:44 pm
by mcrossley
I do not have the source to hand, but from memory are the date formats not set in the WeatherCat template realtimegauges.txt file? I think the gauges script just spits them out as-is.

Re: Date Format

Posted: Sat 23 Jan 2021 7:56 am
by The Dalek Hunter
Thank you very much - all sorted

I changed the last rain tag in the realtime file from RLDi$ to RLD$

And it now works fine - many thanks