Page 1 of 1

Last Rainfall date format problem

Posted: Sun 24 May 2020 9:59 am
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

Re: Last Rainfall date format problem

Posted: Sun 24 May 2020 10:06 am
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.

Re: Last Rainfall date format problem

Posted: Sun 24 May 2020 10:12 am
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!

Re: Last Rainfall date format problem

Posted: Sun 24 May 2020 10:58 am
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

Re: Last Rainfall date format problem

Posted: Sun 24 May 2020 11:01 am
by foxman
Ok, thanks