Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Default website - change date format?
Moderator: mcrossley
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Default website - change date format?
Is there a straightforward way to change the date format on the 'Today' and 'Yesterday' default website pages from mm/dd/yyyy to dd/mm/yyyy?
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Default website - change date format?
The dates I see on my page is shown as dd/mm/yyyy.
I assumed that is linked to by AU locale.
Only change I've made was to merge yesterday in with today.
https://w2.inverellit.com/today.htm
Phil
I assumed that is linked to by AU locale.
Only change I've made was to merge yesterday in with today.
https://w2.inverellit.com/today.htm
Phil
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Default website - change date format?
Thanks. I'm in Scotland. I'm guessing that there may be a php.ini setting that's causing the US date format to appear on the Today and Yesterday pages, but I can't find anything apart from date.timezone, and that's set to Europe/London. Other pages have dates in non-US format, as dd monthname yyyy for example, so it's not consistent. My knowledge of php is close to zero, so I'm fumbling about in the dark here. There must be some other setting that needs to be changed I suppose.
-
- Posts: 3254
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Default website - change date format?
I very much doubt it is php.ini since the default website only uses JS and HTML. It is more like you have the wrong Region settings in Windows 10 I would have thought.
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Default website - change date format?
Thanks for that. Win10 region format data was the first thing I checked. All correctly set for UK.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Default website - change date format?
Are you sure ?
It does look like the (default) W10 short date format.
Take a look at the date in your task bar. Is it the 'right' way round ?
It does look like the (default) W10 short date format.
Take a look at the date in your task bar. Is it the 'right' way round ?
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Default website - change date format?
Yes, I'm sure. Date is displaying in correct format in taskbar.
-
- Posts: 2477
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Default website - change date format?
Does it look the same when viewed from another device?
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Default website - change date format?
Yes, I've checked on two PCs and an Android phone. Dates were in US format each time. There must be a parameter setting somewhere which sets the format of the date fields, but I can't find it.
-
- Posts: 2477
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Default website - change date format?
Do you have a link to your site? The only parameter I can think of off the top of my head is when you include an alternative locale in the parameters passed to MX at start-up.
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Default website - change date format?
I haven't opened my webserver to the Internet at this stage. Attached are three screenshots as examples showing the US dates.
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Default website - change date format?
The date formats are determined by the locale that MX is running under.
What account are you running MX with, is it the same account that you login to the desktop with, or if you are running it background or as a service are you using a different account?
What account are you running MX with, is it the same account that you login to the desktop with, or if you are running it background or as a service are you using a different account?
-
- Posts: 16
- Joined: Fri 20 Aug 2021 7:21 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows 10
- Location: Kelso, Scotland
Re: Default website - change date format?
I'm running MX as a service under Win10 Pro on a NUC8i5, which is also running Apache and MySQL each as services. I have checked that the regional format settings on the NUC are correctly configured. I might be missing something but can't for the life of me think what it might be. The US format dates show when accessing the website from my desktop and my Android phone, as well as when accessing it on the NUC itself.
-
- Posts: 2477
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Default website - change date format?
The first few lines of your MXdiags log file after a restart of MX should show you the locale in use.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Default website - change date format?
If it is running under a system account as a service, then you need to check the default system locale settings rather than your user settings.
I set both new users and System local to my region - they default to USA.
.
I set both new users and System local to my region - they default to USA.
.
You do not have the required permissions to view the files attached to this post.