Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.11.4 (build 3133) - 25 May 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 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
User avatar
Grimers
Posts: 219
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 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: 8473
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster 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">

User avatar
Grimers
Posts: 219
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 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