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
Update time /date issue
Moderator: saratogaWX
Update time /date issue
Strangely the date in the update has started displaying minutes instead of the month. It now looks like this: 16/52/17 07:52:55
Updated to the latest release this morning but no change. The tag file is ok which can be seen here.
Website here.
Any suggestions greatly appreciated.
Updated to the latest release this morning but no change. The tag file is ok which can be seen here.
Website here.
Any suggestions greatly appreciated.
-
- Posts: 3246
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Update time /date issue
Are you using a webtag file for Cumulus MX instead of one foe Cumulus 1 as this type of file has a different formatting parameter?
Re: Update time /date issue
Hi David, I don't believe that's the issue as all the time / date tags are displaying correct in the tags file linked above.
Re: Update time /date issue
Ok, just had a look on the server and there is a error log file. Same errors on all pages.
Code: Select all
[17-Sep-2016 02:20:23 Europe/London] PHP Fatal error: Call to undefined function longdate() in /home/night239/public_html/weather/wxrecords.php on line 70
[17-Sep-2016 13:48:29 Europe/London] PHP Fatal error: Call to undefined function longdatetm() in /home/night239/public_html/weather/wxthismonth.php on line 70
[17-Sep-2016 18:42:16 Europe/London] PHP Notice: Undefined offset: 0 in /home/night239/public_html/weather/ajax-dashboard.php on line 908
Re: Update time /date issue
Further down the log file I found this too, may be related???
Code: Select all
A non well formed numeric value encountered in /home/night239/public_html/weather/readDayfile.php on line 34
Re: Update time /date issue
My server shows 5.6 and that's old so I would think that's ok. Really not sure what's going on, I have not altered the Saratoga templates for a couple of years as I've been so busy and they just sit there working quite happily (thanks Ken), I have updated them this morning. MX is also several revisions behind as it just works (thanks Steve).
- jdc
- Posts: 142
- Joined: Tue 19 Jun 2012 8:51 pm
- Weather Station: Davis VP2 : Instromet
- Operating System: Win 10
- Location: Portsoy,.
- Contact:
Re: Update time /date issue
FWIW
Looking at 'View Source' of index.php, the date is shown correctly.
Also if ajax-dashboard.php is run alone, the date is OK.
I can't offer a solution I'm afraid - don't know those template.
Looking at 'View Source' of index.php, the date is shown correctly.
Also if ajax-dashboard.php is run alone, the date is OK.
I can't offer a solution I'm afraid - don't know those template.
- ConligWX
- Posts: 1618
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Update time /date issue
in your settings, what it the format of this line (129 (approx)
Code: Select all
$SITE['timeFormat'] = 'd/m/Y H:i';
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- 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: Update time /date issue
Duke - Check http://www.nightingaleweather.co.uk//re ... altime.txt - surely the error is in whatever generates that.
I think David (water01) was guiding you in right direction - that file is what www.nightingaleweather.co.uk/weather/ajaxCUwx.js uses.
I think David (water01) was guiding you in right direction - that file is what www.nightingaleweather.co.uk/weather/ajaxCUwx.js uses.
-
- Posts: 3246
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Update time /date issue
I still think this a webtag formatting issue because if you look at the Cumulus MX Announcment
and
consequently you would get minutes instead of Months when using mm.
Code: Select all
mm was Month as number from 01 to 12 is now MM
Code: Select all
nn was Minute with leading zero is now mm
Re: Update time /date issue
David / sfws - thank you for putting the pieces together. Indeed a webtag formatting issue, I had totally forgotten that the realtime.txt is constructed from tags. I was wrapping my brain over the webtag file. I can't believe this had gone unnoticed since I last edited my custom realtime.txt back in Jan 2015 when Steve released MX, thank you.
is now
Code: Select all
<#date format=dd/mm/yy>
Code: Select all
<#date format=dd/MM/yyyy>