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

Date error in the diary.

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

sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Date error in the diary.

Post by sfws »

Mark, I noticed (checking everything just before my 10am BST rollover to a new month this morning) that the date selector in my MX weather diary editor was highlighting tomorrow, instead of current date. I installed your new JavaScript file from this thread onto my RPi, and the date selector seems correct now (but it is after rollover, so I need to check again early tomorrow EDIT: Now it is next day, confirm that the new script pre-selects current calendar day, does permit selection of meteorological date (previous date) or any earlier date, but does not permit selection of tomorrow or any dates in future.).

As I have posted before, my Cumulus.ini contains SnowDepthHour=0 because I want snow to be assigned to calendar days, and I did check that (before rollover) the web tags were correctly reporting the right calendar day, so there was no error in the C# code.
Last edited by sfws on Fri 02 Apr 2021 6:08 am, edited 1 time in total.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Date error in the diary.

Post by sfws »

freddie wrote: Tue 30 Mar 2021 5:13 pm Another reason not to use DST for weather data collection. It's a bad idea
I'm not sure when you first started using Cumulus, Niall, so you may not have experienced this. Anyway, when Steve Loft produced Cumulus 2, he designed it to store all the data in all log files (.txt and .ini) using UTC, because he thought that would avoid DST problems experienced by some of the original Cumulus (1) users.

Cumulus 2 had to be abandoned, this was for various reasons, mostly connected with Steve Loft admitting he was finding writing in C# hard, but using UTC proved to be a problem for some non-UK users of his software.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Date error in the diary.

Post by freddie »

sfws wrote: Thu 01 Apr 2021 3:19 pm
freddie wrote: Tue 30 Mar 2021 5:13 pm Another reason not to use DST for weather data collection. It's a bad idea
I'm not sure when you first started using Cumulus, Niall, so you may not have experienced this. Anyway, when Steve Loft produced Cumulus 2, he designed it to store all the data in all log files (.txt and .ini) using UTC, because he thought that would avoid DST problems experienced by some of the original Cumulus (1) users.

Cumulus 2 had to be abandoned, this was for various reasons, mostly connected with Steve Loft admitting he was finding writing in C# hard, but using UTC proved to be a problem for some non-UK users of his software.
I started using Cumulus in Jan 2010. I did give Cumulus 2 a try, which had the side effect of introducing me to Virtual VP. I don't recall the problems that overseas users had with UTC - but to hear of it doesn't surprise me.

I think users should store data under whatever time zone is most appropriate for them. What I disagree with is the two effective changes of time zone that occur when clocks are changed. This means that in March (or whenever the clocks go forward in the southern hemisphere) you get a one hour "hole" in your records. At the other end of the year you have an hour of duplicate records. I understand perfectly the wish to display the data according to the local time zone, but that can be done (relatively easily) without changing the recording time zone.
Freddie
Image
Post Reply