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

Confused by the am/pm format attibute

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
RSchahrer
Posts: 1
Joined: Mon 07 Nov 2011 12:33 am
Weather Station: Davis Vantage Vu
Operating System: Windows XP
Location: Chandler AZ

Confused by the am/pm format attibute

Post by RSchahrer »

OK, here is what my tweets look like at the moment:

WX @ 19:00 Temp:63.3°F, Wind: NW @ 2.0 mph, Baro:29.898" & Rising, Hum:67%, Rain:0.06", Hi:71.4°F @ 14:42MST, Lo:56.9°F @ 05:26MST

And I am trying to get them to read like this:

WX @ 7:00PM Temp:63.3°, Wind: NW @ 2.0 mph, Baro:29.898" & Rising, Hum:67%, Rain:0.06", Hi:71.4° @ 2:42PM MST, Lo:56.9° @ 05:26AM MST

My current twitter.txt

WX @ <#hour>:<#minute>MST: Temp:<#temp>°F, Wind: <#currentwdir> @ <#wspeed> mph, Baro:<#altimeterpressure>" & <#presstrendenglish>, Hum:<#hum>%, Rain:<#rfall>", Hi:<#tempTH>°F @ <#TtempTH>MST, Lo:<#tempTL>°F @ <#TtempTL>MST


It appears that the "format=am/pm" attribute can be used somewhere, but I can't quite figure it out.

Any help would be appreciated.

Roy - N7QYK
Twitter: @KOA789
Cumulus RealTime: http://members.cox.net/n7qyk/weather/Cu ... ltime.html
WUnderground: http://www.wunderground.com/swf/Rapid_F ... KAZCHAND32
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: Confused by the am/pm format attibute

Post by steve »

Instead of

Code: Select all

<#hour>:<#minute>
use

Code: Select all

<#time format=h:nnAM/PM>
and do the same for the other time tags that you're using, e.g:

Code: Select all

<#TtempTH format=h:nnAM/PM>
Steve
Post Reply