Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

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: 242
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
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: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye 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: 242
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
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