Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.10.2 (build 3117) - 02 March 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 the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Date Format

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
The Dalek Hunter
Posts: 53
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Vantage Pro 2 & WeatherLink Live
Operating System: Windows 10 running on a Micro PC
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

User avatar
mcrossley
Posts: 7963
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: 53
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Vantage Pro 2 & WeatherLink Live
Operating System: Windows 10 running on a Micro PC
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

Post Reply