I am currently looking into some functionality around the Records Began Date.
When changing that date we have to obey the format exactly so it says, this means that for a random day I have to find out first on what day that is (e.g. saturday etc...). That is a nuisance. Is it possible to give it such nice calendar entry like seen on other parts of CMX? That would make it much nicer to deal with even if it is not used very much of course.
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
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
Records Began Date
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Records Began Date
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
- mcrossley
- Posts: 14382
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Records Began Date
Possible but not without issues. The date is in .Net locale format, so that format would have to be passed via hidden field so that some JavaScript could pick it up and convert it to JS format and then configure the date picker, the same for the locale.
Maybe a better approach would be to send the date in ISO format, use a date picker in the browser locale to return an ISO date, then convert back to .Net locale string.
TBH I'd rather drop the locale string altogether and switch to an ISO date. For a little while now I changed MX to use a date object internally for the start date. I think I'll deprecate the current date string soon and add a new ISO date entry to the ini file. The current entry would become a read-only value for conversion from C1 if the new entry were not present, once read it would be deleted and the new field used exclusively.
Maybe a better approach would be to send the date in ISO format, use a date picker in the browser locale to return an ISO date, then convert back to .Net locale string.
TBH I'd rather drop the locale string altogether and switch to an ISO date. For a little while now I changed MX to use a date object internally for the start date. I think I'll deprecate the current date string soon and add a new ISO date entry to the ini file. The current entry would become a read-only value for conversion from C1 if the new entry were not present, once read it would be deleted and the new field used exclusively.
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Records Began Date
Sounds OK to me if selecting a date becomes easier
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social