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

Time tag error?

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
RCE
Posts: 106
Joined: Sat 26 Dec 2009 7:59 am
Weather Station: WH1080
Operating System: Vista
Location: Sheffield UK

Time tag error?

Post by RCE »

Did a search for this but not easy to find anything relevant.

The tag list suggest that the #time tag gives just the time eg 18:30 however while using with Twitter it seems to produce for example 18:30 on 30 December 2009

Is this right? I have got round it by using the #hour tag and #minute tag.
====
Alan
User avatar
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: Time tag error?

Post by beteljuice »

From Cumulus console help

<#time> The current date and time. Example format: 18:30 on 14 May 2004

For just the time the tags you have used are correct <#hour>:<#minute>
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Time tag error?

Post by daj »

Actually, I just tested it and noticed the same thing!

The help file explains that tag as the full time and date, but the wiki says the time only.

I wonder if this has changed, or is the wiki just wrong?
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
RCE
Posts: 106
Joined: Sat 26 Dec 2009 7:59 am
Weather Station: WH1080
Operating System: Vista
Location: Sheffield UK

Re: Time tag error?

Post by RCE »

Ah yes I got the info from the Wiki, so looks like Wiki is wrong?
====
Alan
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Time tag error?

Post by daj »

strange, as I wrote the Wiki article, and it was obviously a copy job from the help, unless Steve has changed it as some point. I will change it now

Sorry for any problems it caused.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Time tag error?

Post by steve »

I've looked at the help of the oldest version that I still have - 1.6.1, and it says:

<#time> The current date and time. Example format: 18:30 on 14 May 2004
Steve
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Time tag error?

Post by gemini06720 »

Just checked the 'cumuluswebtags.php' created by Cumulus... The value placed into the PHP variable '$time' using the Cumulus tag "<#time>" is indeed "02:41 on 31 December 2009" - the full date.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Time tag error?

Post by steve »

It may well be that David asked me to confirm what the tag did and I gave him duff info (because I didn't choose the name very well, way back). Anyway, all sorted now :)
Steve
Post Reply