Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 7:27 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: tag showing 12 hour time
PostPosted: Mon Nov 14, 2011 9:08 pm 
Offline

Joined: Sun May 10, 2009 8:52 pm
Posts: 502
Location: Springfield, IL
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Hi Steve,
I have a question I run cumulus or a 24 hour clock
my pc on 12 hour i noted <#TtempH> is showing 12 hour time
is it because the pc on 12 hour time ?


Top
 Profile  
 
 Post subject: Re: tag showing 12 hour time
PostPosted: Mon Nov 14, 2011 9:26 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17587
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Yes; the default time format for that tag (and similar ones) is "t".

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: tag showing 12 hour time
PostPosted: Mon Nov 14, 2011 10:00 pm 
Offline

Joined: Sun May 10, 2009 8:52 pm
Posts: 502
Location: Springfield, IL
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Hi Steve,
is the only way to change that format the tags or 24 hour time on the pc?
beau


Top
 Profile  
 
 Post subject: Re: tag showing 12 hour time
PostPosted: Tue Nov 15, 2011 3:56 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
n9mfk wrote:
is the only way to change that format the tags or 24 hour time on the pc?
It is probably the 'easiest' if not the only way to do it.

It is too bad that a standard time format (such as the ISO 8601 date/time format) was not adopted in the early days of Cumulus ... it would make date/time conversion into other web page formats (such as PHP) so much easier ... rather than having to create/use many different functions to accomplish those conversions... :(


Top
 Profile  
 
 Post subject: Re: tag showing 12 hour time
PostPosted: Tue Nov 15, 2011 8:03 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17587
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
n9mfk wrote:
is the only way to change that format the tags or 24 hour time on the pc?

Use the format parameter on the web tags, that's why it's there. Is that not a workable solution for some reason?

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: tag showing 12 hour time
PostPosted: Tue Nov 15, 2011 1:36 pm 
Offline

Joined: Sun May 10, 2009 8:52 pm
Posts: 502
Location: Springfield, IL
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Hi Steve,
format worked great
i do have one question let say i went to format <#update> is there a way to only format the time and have the date part come out as it wood be with out formatting?
thanks
Beau


Top
 Profile  
 
 Post subject: Re: tag showing 12 hour time
PostPosted: Tue Nov 15, 2011 4:14 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2518
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
I would guess at "ddddd" = Displays the date using the format given by the Windows Short Date format.
as Steve said the default time is "t" = Displays the time using the format given by the Windows Short Time format.

http://wiki.sandaysoft.com/a/Webtags#Ti ... _Parameter

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group