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 4018) - 28 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

LastRainTip Date Format

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

LastRainTip Date Format

Post by Grimers »

Hi all,

I hope you're all well!

I'm experiencing an issue when trying to format the 'LastRainTip' tag in websitedataT.json. It won't allow me to apply the format as follows:

Code: Select all

"LastRainTip":"<#LastRainTip format=HH:mm dd MMMM yyyy>",
However, the below seems acceptable.

Code: Select all

"LastRainTip":"<#LastRainTip format=HH:mm>",
Any ideas?

Cheers,

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

Re: LastRainTip Date Format

Post by mcrossley »

As per the Wiki, if your format string has spaces then it must be quoted.
<#LastRainTip format="HH:mm dd MMMM yyyy">
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: LastRainTip Date Format

Post by Grimers »

Silly me! I knew it would be something that simple. I think it's because I saw the quotes around the whole tag that made me think another set of quotes would screw things up, but obviously not. Thanks again, Mark! :)
Post Reply