Page 1 of 1

LastRainTip Date Format

Posted: Tue 11 May 2021 3:57 pm
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

Re: LastRainTip Date Format

Posted: Tue 11 May 2021 4:05 pm
by mcrossley
As per the Wiki, if your format string has spaces then it must be quoted.
<#LastRainTip format="HH:mm dd MMMM yyyy">

Re: LastRainTip Date Format

Posted: Tue 11 May 2021 4:07 pm
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! :)