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.
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
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?
- RCE
- Posts: 106
- Joined: Sat 26 Dec 2009 7:59 am
- Weather Station: WH1080
- Operating System: Vista
- Location: Sheffield UK
Time tag error?
====
Alan
Alan
- 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?
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>
<#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>
......................Imagine, what you will KNOW tomorrow !
- 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?
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?
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?
- 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?
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.
Sorry for any problems it caused.
- 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?
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
<#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?
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.
- 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?
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