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
<#timeUTC format=
Moderator: mcrossley
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
<#timeUTC format=
Was about to report an issue with
<#timeUTC format="ddd, dd MMM yyyy hh':'mm':'ss 'GMT'">
reporting local instead of UTC time.
Noticed b3008 available so tested and format now correct.
Now that is what I call service above and beyond the call of Duty - fixing the issue as I noticed it and before I could advise I had a problem!
<#timeUTC format="ddd, dd MMM yyyy hh':'mm':'ss 'GMT'">
reporting local instead of UTC time.
Noticed b3008 available so tested and format now correct.
Now that is what I call service above and beyond the call of Duty - fixing the issue as I noticed it and before I could advise I had a problem!
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: <#timeUTC format=
I was getting really strange results and it appeared the code had fixed it.
It is used in the rss feed headers which then get reprocessed by the browser rss parser back into the reader's local date.
Have found I need to keep the script it is called from and the feed script in the same folder and also have to set the time zone.
At the moment I only have the CumulusMX 'now' page setting the time zone (added some php to handle this). Not sure how the other pages are handling the rss at the moment - it is well past 1 am here so I'm off to bed!
It is used in the rss feed headers which then get reprocessed by the browser rss parser back into the reader's local date.
Have found I need to keep the script it is called from and the feed script in the same folder and also have to set the time zone.
At the moment I only have the CumulusMX 'now' page setting the time zone (added some php to handle this). Not sure how the other pages are handling the rss at the moment - it is well past 1 am here so I'm off to bed!
-
- Posts: 74
- Joined: Sun 02 Oct 2011 9:15 am
- Weather Station: VP2
- Operating System: Mac/win7
- Location: United Kingdom
Re: <#timeUTC format=
Just to follow this thread up - my date/time does not seem to be coming up correctly in my rss feed (attempting to use RSS to Lametric - more on Lametric in a future post, we have it running data from Cumulus to the display, its a great little gadget for weather data) -
The RSS is http://weather.casa.ucl.ac.uk/cumulus.rss
Any thoughts on the date/time would be great...
Andy
The RSS is http://weather.casa.ucl.ac.uk/cumulus.rss
Any thoughts on the date/time would be great...
Andy
Re: <#timeUTC format=
or LaMetricSmithee wrote:..........more on Lametric in a future post, we have it running data from Cumulus to the display, its a great little gadget for weather data)
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: <#timeUTC format=
The date and time in the RSS look OK to me, what are you expecting it to look like?Smithee wrote:Just to follow this thread up - my date/time does not seem to be coming up correctly in my rss feed (attempting to use RSS to Lametric - more on Lametric in a future post, we have it running data from Cumulus to the display, its a great little gadget for weather data) -
The RSS is http://weather.casa.ucl.ac.uk/cumulus.rss
Any thoughts on the date/time would be great...
Andy
Last edited by mcrossley on Sat 12 Mar 2016 12:22 pm, edited 1 time in total.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: <#timeUTC format=
It's not obvious to me what the problem is from the link you've posted - could you give me a clue? You are presumably using the <#timeUTC> web tag, as in the original post in this thread?
Steve
Re: <#timeUTC format=
I'm seeing this as the time - '7:nn a52p52'
I'm assuming the 'nn' should be 'mm' and the 'a/p' should be 't'.52'
I'm assuming the 'nn' should be 'mm' and the 'a/p' should be 't'.52'
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: <#timeUTC format=
Ah, I was looking at the 'pubdate' field. So yes, the format strings just need to be the correct ones for MX, as in the instructions.
Steve
-
- Posts: 74
- Joined: Sun 02 Oct 2011 9:15 am
- Weather Station: VP2
- Operating System: Mac/win7
- Location: United Kingdom
Re: <#timeUTC format=
Changing the format fixed the time date - sorry just realised it was a basic question!
Thanks for taking the time to point me in the right direction...
Andy
Thanks for taking the time to point me in the right direction...
Andy