Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Last Rainfall date format problem

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
foxman
Posts: 9
Joined: Mon 10 Dec 2012 10:18 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7
Location: Essex, UK

Last Rainfall date format problem

Post by foxman »

I have recently switched from the old Cumulus to CumulusMX and have everything working fine, but there is one anomaly that I have not been able to solve thus far and wonder if anyone could advise me how to correct it?
On the main Index page the Last Rainfall field #LastRainTipISO is displayed in the format of yyyy-mm-dd time, whereas ALL other fields of a similar nature on other pages (e.g. Highest Rain Rate #TrrateM on the Records page) correctly displays in the right UK format for me of time dd-mm-yyyy

How do I correct this format issue please?

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

Re: Last Rainfall date format problem

Post by mcrossley »

<#LastRaintipISO> always displays the date/time in ISO format (the clue is in the name). I added the <#LastRainTip> tag to version 3.6.1 to which you can add a format string if you wish, otherwise it will use the default formatting.
foxman
Posts: 9
Joined: Mon 10 Dec 2012 10:18 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7
Location: Essex, UK

Re: Last Rainfall date format problem

Post by foxman »

Ok, thanks Mark.

I’m not too familiar with html format commands, but I’ll have a read up and try a few things!
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Last Rainfall date format problem

Post by sfws »

foxman wrote: Sun 24 May 2020 10:12 am I’m not too familiar with html format commands, but I’ll have a read up
Mark was talking about Cumulus Output formatting codes, nothing to do with HTML.

How about starting your reading at https://cumuluswiki.org/a/Webtags#Outpu ... _and_dates
foxman
Posts: 9
Joined: Mon 10 Dec 2012 10:18 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7
Location: Essex, UK

Re: Last Rainfall date format problem

Post by foxman »

Ok, thanks
Post Reply