Page 1 of 2

Date error in the diary.

Posted: Mon 29 Mar 2021 12:53 pm
by andrea_iw2ntf
Hello everyone, it seems there is a mistake in the diary calendar. To select the correct day, you must select the previous day.
Allego Screen.

Good job.

Re: Date error in the diary.

Posted: Mon 29 Mar 2021 1:51 pm
by PaulMy
I suspect you are using an older version of CumulusMX. That issue was resolved a few updates ago.

Code: Select all

3.10.0 - b3115
——————————————
- Fix: Diary Editor creating entries on the wrong day, and revamp the interface a bit
Enjoy,
Paul

Re: Date error in the diary.

Posted: Mon 29 Mar 2021 2:51 pm
by ConligWX
his editor image says he is using the latest (3.10.4 b3121)

Re: Date error in the diary.

Posted: Mon 29 Mar 2021 3:30 pm
by andrea_iw2ntf
Exact! Latest version available.

Good job! Andrew

Re: Date error in the diary.

Posted: Mon 29 Mar 2021 3:56 pm
by mcrossley
And your file "interface/js/diaryeditor.js" has the following Last Modified date?...

Code: Select all

// Last modified: 2021/02/19 23:51:36

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 7:37 am
by andrea_iw2ntf
Hello,

I confirm that I had deleted and reinserted all the files in the "INTERFACE" directory.

So are the updated files. I have now tried to delete and restore the INTERFACE files, but nothing has changed ....

thanks! Andrew

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 7:58 am
by ConligWX
I cant say I noticed anything. I added an entry yesterday on the 29th of March, and I selected the 29th of March. I did NOT have to select the 28th.

Just thinking out aloud, could you confirm that the date and time is correct on the device CumulusMX is installed on?

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 9:06 am
by freddie
What about clearing your cache?

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 4:47 pm
by mcrossley
freddie wrote: Tue 30 Mar 2021 9:06 am What about clearing your cache?
If that does not work would you try the version of the script below please? I think it is a daylight saving "thing" now. - This diary is a real &%$£$%! :bash:

@Paul, could you try it as well please - has your diary been working OK since the DST changeover? I suspect so, I think it is a east/west of the meridian DST thing.

The root of issue is the DatePicker control can be made to work in UTC for all but one function - which MX uses along with others :(

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 5:13 pm
by freddie
mcrossley wrote: Tue 30 Mar 2021 4:47 pm I think it is a daylight saving "thing"
Another reason not to use DST for weather data collection. It's a bad idea ;)

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 6:27 pm
by sutne
DST is bad for mostly everything.
What happened to the European Union decision to stop using DST from 2021?

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 6:46 pm
by PaulMy
@freddie I won't vote down DST :P as DST makes for nice longer summer evening, and standard time makes for a more acceptable winter time here.

And Mark, my Weather Diary has been working well since b3115. I just replaced it with new diaryeditor.js and that also works good. We had DST start March 14.

Enjoy,
Paul

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 7:12 pm
by freddie
PaulMy wrote: Tue 30 Mar 2021 6:46 pm@freddie I won't vote down DST :P as DST makes for nice longer summer evening, and standard time makes for a more acceptable winter time here.
Exactly what it is useful for (unlike recording weather data ;) )

Re: Date error in the diary.

Posted: Tue 30 Mar 2021 7:57 pm
by andrea_iw2ntf
OK!!!!

ATTACHMENTS
diaryeditor.zip

Perfect! The updated file is working correctly now!

It can be included in the next update ...

thanks

Re: Date error in the diary.

Posted: Wed 31 Mar 2021 11:04 am
by mcrossley
Phew! :thumbsup: