Hi Ken,
I've seen on many weather sites that their UV Forecast Date is in dd/mm/yyyy and not my dd Mon yyyy!
e.g. http://weather.hud.org.uk/
How do I change this? Do I do the change in the get-UV-forecast-inc.php file?
Thanks
William
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
Changing UV Forecast Date Format?
Moderator: saratogaWX
- William Grimsley
- Posts: 833
- Joined: Thu 22 Sep 2011 5:22 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 7 Home Premium 64-bit
- Location: Latitude: 50.70189285 Longitude: -3.30849957
- Contact:
- saratogaWX
- Posts: 1185
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Changing UV Forecast Date Format?
Before changing the support script get-UV-forecast-inc.php, you should check to see if you are running a current version:
http://www.newton-poppleford-weather.co ... w=versions
And, you're running V1.06 when V1.07 is current.
Try the update first, then your Settings.php should determine the format of the date for UV on the ajax-dashboard.php display.
http://www.newton-poppleford-weather.co ... w=versions
And, you're running V1.06 when V1.07 is current.
Try the update first, then your Settings.php
Code: Select all
$SITE['dateOnlyFormat'] = 'd/m/Y'; // for 31-Mar-2008 or 'j/n/Y' for Euro format
- William Grimsley
- Posts: 833
- Joined: Thu 22 Sep 2011 5:22 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 7 Home Premium 64-bit
- Location: Latitude: 50.70189285 Longitude: -3.30849957
- Contact:
Re: Changing UV Forecast Date Format?
Hi Ken,
Thanks for your reply.
Ok, I updated the support script get-UV-forecast-inc.php...and it changed the date format from dd Mon yyyy to dd/mm/yyyy!
I also saw that the CU-defs.php file needed updating, so I updated that too!
Now that I have updated the .php files, I will use the link you gave me to see if my site needs updating in the future!
Thanks very much,
William
Thanks for your reply.
Ok, I updated the support script get-UV-forecast-inc.php...and it changed the date format from dd Mon yyyy to dd/mm/yyyy!
I also saw that the CU-defs.php file needed updating, so I updated that too!
Now that I have updated the .php files, I will use the link you gave me to see if my site needs updating in the future!
Thanks very much,
William