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

Daylight Webtag Showing Wrong Value

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
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Daylight Webtag Showing Wrong Value

Post by stefanbagnato »

I am not certain when this started, but the Daylight webtag is showing a value that appears to be exactly 12 hours behind the real value. I have not made any changes to the site recently, nor the tags or their format.
Capture.PNG
Capture1.PNG
You do not have the required permissions to view the files attached to this post.
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: Daylight Webtag Showing Wrong Value

Post by mcrossley »

Your time format for daylight and day length is set to 12 hour format which does not make sense, it should be 24 hour format. So 13 hours 11 minutes is displaying as 1:11 (without the pm moniker).

"hh:mm"
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Re: Daylight Webtag Showing Wrong Value

Post by stefanbagnato »

Ah good catch. I changed it to hh:mm, which then just changed Daylight to 01:11, still useless. But then I removed the format tag altogether, and now it shows correctly. Guess it was probably an issue all along, but didn't start showing til the days finally got longer. Probably been there for a few weeks, I just didn't notice it.
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: Daylight Webtag Showing Wrong Value

Post by mcrossley »

Sorry, my mistake, the format should be "HH:mm" - but that is the default without a format string anyway ;)

h = 12 hour format
H = 24 hour format
Post Reply