Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.11.4 (build 3133) - 25 May 2021 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Date Format

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
The Dalek Hunter
Posts: 89
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Davis WLL & Ecowitt GW1000B
Operating System: Win 10 Micro PC and Rasp Pi
Contact:

Date Format

Post 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
https://www.longsuttonweather.co.uk
https://www.longsuttonweather.co.uk/ecowitt/
Davis Vantage Pro 2 and WLL with CMX on a Windows 10 Micro PC
Ecowitt GW1000 with CMX on a Raspberry Pi 4b
Davis AirLink Live and Ecowitt WH57

User avatar
mcrossley
Posts: 8473
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Date Format

Post 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.

User avatar
The Dalek Hunter
Posts: 89
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Davis WLL & Ecowitt GW1000B
Operating System: Win 10 Micro PC and Rasp Pi
Contact:

Re: Date Format

Post 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
https://www.longsuttonweather.co.uk
https://www.longsuttonweather.co.uk/ecowitt/
Davis Vantage Pro 2 and WLL with CMX on a Windows 10 Micro PC
Ecowitt GW1000 with CMX on a Raspberry Pi 4b
Davis AirLink Live and Ecowitt WH57

Post Reply